mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Fix exception when hiding comments
This commit is contained in:
parent
50b723ce7b
commit
90a0a2d6a6
@ -205,7 +205,7 @@ class ModelerDialog(QgsModelDesignerDialog):
|
||||
|
||||
showComments = QgsSettings().value("/Processing/Modeler/ShowComments", True, bool)
|
||||
if not showComments:
|
||||
self.scene.setFlag(QgsModelGraphicsScene.FlagHideComments)
|
||||
scene.setFlag(QgsModelGraphicsScene.FlagHideComments)
|
||||
|
||||
context = createContext()
|
||||
scene.createItems(self.model(), context)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user