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
@@ -85,7 +85,7 @@ class GuiAbout(NDialog):
# Buttons
self.btnBox = QDialogButtonBox(QtDialogClose, self)
self.btnBox.rejected.connect(self.close)
self.btnBox.rejected.connect(self.reject)
# Assemble
self.innerBox = QVBoxLayout()