Skip to content

Commit

Permalink
[processing] fixed FixedTableDialog when there are 0 rows
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 24, 2015
1 parent 5a4a552 commit 6b8254c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/FixedTablePanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, param, parent=None):
self.table[i].append('0')

self.leText.setText(
self.tr('Fixed table %dx%d' % (len(param.cols), param.numRows)))
self.tr('Fixed table %dx%d' % (param.numRows, len(param.cols))))

self.btnSelect.clicked.connect(self.showFixedTableDialog)

Expand All @@ -63,4 +63,4 @@ def showFixedTableDialog(self):
self.table = dlg.rettable

self.leText.setText(self.tr('Fixed table %dx%d' % (
len(self.table), len(self.table[0]))))
len(self.table), len(self.param.cols))))

0 comments on commit 6b8254c

Please sign in to comment.