dev #295

Merged
dominik merged 38 commits from dev into master 2024-11-13 13:02:05 +00:00
Showing only changes of commit d9f1c0b8c2 - Show all commits

View File

@ -126,7 +126,7 @@ class QUsermodelEditor(QtWidgets.QMainWindow):
self.is_modified = False
def closeEvent(self, evt: QtGui.QCloseEvent):
if not self.changes_saved:
if self.is_modified:
evt.ignore()
else:
super().closeEvent(evt)