File tree Expand file tree Collapse file tree
python/plugins/processing/gui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ def _table(self):
8585 def showPopupMenu (self ):
8686 popupmenu = QMenu ()
8787
88- if not (isinstance (self .param , QgsProcessingParameterMultipleLayers ) and
89- self .param .layerType () = = QgsProcessing .TypeFile ):
88+ if (isinstance (self .param , QgsProcessingParameterMultipleLayers ) and
89+ self .param .layerType () ! = QgsProcessing .TypeFile ):
9090 selectLayerAction = QAction (self .tr ('Select from Open Layers…' ), self .pushButton )
9191 selectLayerAction .triggered .connect (self .showLayerSelectionDialog )
9292 popupmenu .addAction (selectLayerAction )
@@ -184,7 +184,7 @@ def textEditingFinished(self):
184184 self ._value = self .text .text ()
185185 self .valueChanged .emit ()
186186
187- def value (self ):
187+ def getValue (self ):
188188 return self ._value if self ._value else None
189189
190190 def setValue (self , value ):
You can’t perform that action at this time.
0 commit comments