PySide6 steamlining

This commit is contained in:
Raffson
2023-10-14 18:42:20 +02:00
parent 7a3c9a707f
commit 3c921198af
55 changed files with 352 additions and 246 deletions

View File

@@ -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)