Skip to content
Permalink
Browse files
[processing] Fix model docks are not removed when closing modeler
Actually caused by the modeler dialog never being deleted correctly.

Fixes #18213
  • Loading branch information
nyalldawson committed Feb 26, 2018
1 parent 4777abb commit bfa3cab
Showing 1 changed file with 3 additions and 1 deletion.
@@ -82,7 +82,9 @@ class ModelerDialog(BASE, WIDGET):
update_model = pyqtSignal()

def __init__(self, model=None):
super(ModelerDialog, self).__init__(None)
super().__init__(None)
self.setAttribute(Qt.WA_DeleteOnClose)

self.setupUi(self)

self.bar = QgsMessageBar()

0 comments on commit bfa3cab

Please sign in to comment.