mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
PySide6 steamlining
This commit is contained in:
@@ -33,7 +33,7 @@ class QNotesWindow(QDialog):
|
||||
self.textbox = QPlainTextEdit(self)
|
||||
try:
|
||||
self.textbox.setPlainText(self.game.notes)
|
||||
self.textbox.moveCursor(QTextCursor.End)
|
||||
self.textbox.moveCursor(QTextCursor.MoveOperation.End)
|
||||
except AttributeError: # old save may not have game.notes
|
||||
pass
|
||||
self.textbox.move(10, 10)
|
||||
|
||||
Reference in New Issue
Block a user