Use the reject slot for dialogs since close is not actually a slot
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user