Fix bug in LayoutWidget.py

getWidget tries to get self.row which doesn't exist, get self.rows instead