Skip to content

Commit

Permalink
[processing] correctly enable buttons in FixedTableDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 24, 2015
1 parent 4da1ce9 commit 5a4a552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/FixedTableDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, param, table):
self.btnRemove.clicked.connect(lambda: self.removeRows())
self.btnRemoveAll.clicked.connect(lambda: self.removeRows(True))

if not self.param.fixedNumOfRows:
if self.param.fixedNumOfRows:
self.btnAdd.setEnabled(False)
self.btnRemove.setEnabled(False)
self.btnRemoveAll.setEnabled(False)
Expand Down

0 comments on commit 5a4a552

Please sign in to comment.