Use the reject slot for dialogs since close is not actually a slot

This commit is contained in:
Veronica Berglyd Olsen
2024-06-10 01:04:10 +02:00
parent 29b61c07b0
commit 811db81a86
6 changed files with 8 additions and 19 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class GuiProjectSettings(NDialog):
# Buttons
self.buttonBox = QDialogButtonBox(QtDialogSave | QtDialogCancel, self)
self.buttonBox.accepted.connect(self._doSave)
self.buttonBox.rejected.connect(self.close)
self.buttonBox.rejected.connect(self.reject)
# Content
SHARED.project.countStatus()