Merge pull request #3695 from nirvn/processing_modeler_dblclick

[processing] resurrect editing of modeler item on double-click
This commit is contained in:
Alexander Bruy 2016-11-02 14:16:27 +02:00 committed by GitHub
commit 1c44d7471f

View File

@ -132,8 +132,7 @@ class ModelerGraphicItem(QGraphicsItem):
return rect return rect
def mouseDoubleClickEvent(self, event): def mouseDoubleClickEvent(self, event):
pass self.editElement()
#self.editElement()
def contextMenuEvent(self, event): def contextMenuEvent(self, event):
if isinstance(self.element, ModelerOutput): if isinstance(self.element, ModelerOutput):