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 bfa3cab0bba55ac6d34b127878fb58f664cfe534
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerDialog.py
@@ -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.
You can’t perform that action at this time.