better use call to the classes method then returning a value

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-18 15:35:54 +01:00
parent cdb8af56b3
commit 757a6d784b

View File

@ -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()):