better use call to the classes method then returning a value
This commit is contained in:
parent
cdb8af56b3
commit
757a6d784b
@ -110,8 +110,7 @@ class PropertiesDlg(QDialog):
|
||||
|
||||
def accept(self, *args, **kwargs):
|
||||
self.apply()
|
||||
self.destroy()
|
||||
return self.accepted
|
||||
QDialog.accept(self)
|
||||
|
||||
def apply(self):
|
||||
for widint in range(self.tabWidget.count()):
|
||||
|
Loading…
Reference in New Issue
Block a user