fix exception when selecting string function

just a typo causing an exception when selecting a string function in query builder dialog
This commit is contained in:
aroche 2016-11-15 10:23:57 +01:00 committed by Matthias Kuhn
parent a373f95707
commit 6bfd0fd79e

View File

@ -163,7 +163,7 @@ class QueryBuilderDlg(QDialog):
self.ui.functions.setCurrentIndex(0)
def add_stringfct(self):
if self.ui.stringFct.currentIndex() <= 0:
if self.ui.stringfct.currentIndex() <= 0:
return
ag = self.ui.stringfct.currentText()