Merge pull request #134 from cjtk/develop
Fix bug in LayoutWidget.py getWidget (self.rows, not self.row)
This commit is contained in:
commit
a51ff8eb61
|
@ -75,7 +75,7 @@ class LayoutWidget(QtGui.QWidget):
|
||||||
|
|
||||||
def getWidget(self, row, col):
|
def getWidget(self, row, col):
|
||||||
"""Return the widget in (*row*, *col*)"""
|
"""Return the widget in (*row*, *col*)"""
|
||||||
return self.row[row][col]
|
return self.rows[row][col]
|
||||||
|
|
||||||
#def itemIndex(self, item):
|
#def itemIndex(self, item):
|
||||||
#for i in range(self.layout.count()):
|
#for i in range(self.layout.count()):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user