Skip to content

Commit c1cc2b5

Browse files
committed
Fix qt warning on opening modeler dialog
1 parent 723051b commit c1cc2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/modeler/ModelerDialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def __init__(self, model=None):
252252
self.variables_dock.setFeatures(QDockWidget.DockWidgetFloatable | QDockWidget.DockWidgetMovable)
253253
self.variables_dock.setObjectName("variablesDock")
254254
self.variables_dock_contents = QWidget()
255-
vl_v = QVBoxLayout(self.algorithmsDockContents)
255+
vl_v = QVBoxLayout()
256256
vl_v.setContentsMargins(0, 0, 0, 0)
257257
self.variables_editor = QgsVariableEditorWidget()
258258
vl_v.addWidget(self.variables_editor)

0 commit comments

Comments
 (0)