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):
|
def accept(self, *args, **kwargs):
|
||||||
self.apply()
|
self.apply()
|
||||||
self.destroy()
|
QDialog.accept(self)
|
||||||
return self.accepted
|
|
||||||
|
|
||||||
def apply(self):
|
def apply(self):
|
||||||
for widint in range(self.tabWidget.count()):
|
for widint in range(self.tabWidget.count()):
|
||||||
|
Loading…
Reference in New Issue
Block a user