Skip to content
Permalink
Browse files

[processing] fixed FixedTableDialog when there are 0 rows

  • Loading branch information
volaya committed Oct 24, 2015
1 parent 5a4a552 commit 6b8254c922a945f587703793ee423e40217abbf2
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/FixedTablePanel.py
@@ -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)

@@ -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.
You can’t perform that action at this time.