Skip to content

Commit

Permalink
[processing] renamed wrongly named signal in InputLayerSelectionPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 5, 2016
1 parent b2fd1a4 commit 1a95110
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/gui/InputLayerSelectorPanel.py
Expand Up @@ -41,7 +41,7 @@

class InputLayerSelectorPanel(BASE, WIDGET):

valueHasChanged = pyqtSignal()
valueChanged = pyqtSignal()

def __init__(self, options, param):
super(InputLayerSelectorPanel, self).__init__(None)
Expand All @@ -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()
Expand All @@ -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.