Skip to content
Permalink
Browse files

[processing] renamed wrongly named signal in InputLayerSelectionPanel

  • Loading branch information
volaya committed Oct 5, 2016
1 parent b2fd1a4 commit 1a95110dcc7934a16310261f36951b3180f78d6d
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/InputLayerSelectorPanel.py
@@ -41,7 +41,7 @@

class InputLayerSelectorPanel(BASE, WIDGET):

valueHasChanged = pyqtSignal()
valueChanged = pyqtSignal()

def __init__(self, options, param):
super(InputLayerSelectorPanel, self).__init__(None)
@@ -57,7 +57,7 @@ def __init__(self, options, param):
self.cmbText.addItem(name, value)

self.btnSelect.clicked.connect(self.showSelectionDialog)
self.cmbText.currentIndexChanged.connect(self.valueHasChanged.emit)
self.cmbText.currentIndexChanged.connect(self.valueChanged.emit)

def showSelectionDialog(self):
settings = QSettings()
@@ -84,7 +84,7 @@ def update(self, options):
self.cmbText.clear()
for (name, value) in options:
self.cmbText.addItem(name, value)
self.valueHasChanged.emit()
self.valueChanged.emit()

def getValue(self):
return self.cmbText.itemData(self.cmbText.currentIndex())

0 comments on commit 1a95110

Please sign in to comment.
You can’t perform that action at this time.