Skip to content

Commit

Permalink
[processing] Fix model docks are not removed when closing modeler
Browse files Browse the repository at this point in the history
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.
4 changes: 3 additions & 1 deletion python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -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()
Expand Down

0 comments on commit bfa3cab

Please sign in to comment.