From 757a6d784bcf04614e0adf1147705de4ae137cf9 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 18 Feb 2015 15:35:54 +0100 Subject: [PATCH] better use call to the classes method then returning a value --- pylot/core/util/widgets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index e6905c11..9c417772 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -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()):