mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
rwviewer: keep unconvertible characters in the string as they are
This commit is contained in:
parent
f0c0bd33ef
commit
f85f6e3391
@ -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…
Reference in New Issue
Block a user