mirror of
https://github.com/rwengine/openrw.git
synced 2025-04-28 21:08:05 +03:00
rwviewer: keep unconvertible characters in the string as they are
This commit is contained in:
parent
f0c0bd33ef
commit
f85f6e3391
1 changed files with 0 additions and 4 deletions
|
@ -156,10 +156,6 @@ void TextViewer::onGameStringChange(const GameString &gameString) {
|
|||
if (hexLineEdit->text().compare(newHexText)) {
|
||||
hexLineEdit->setText(newHexText);
|
||||
}
|
||||
auto newText = QString::fromStdString(GameStringUtil::toString(gameString, currentFont));
|
||||
if (textEdit->toPlainText().compare(newText)) {
|
||||
textEdit->setText(newText);
|
||||
}
|
||||
|
||||
updateRender();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue