macro_recorder: don't use QGridLayout::rowCount as it returns wrong value
https://stackoverflow.com/a/13406780main
parent
2c8e1100ab
commit
4f4e4b3805
|
|
@ -69,7 +69,7 @@ class MacroTab(QVBoxLayout):
|
|||
line = MacroLine(self, act)
|
||||
line.changed.connect(self.on_change)
|
||||
self.lines.append(line)
|
||||
line.insert(self.container.rowCount())
|
||||
line.insert(len(self.lines) - 1)
|
||||
self.changed.emit()
|
||||
|
||||
def on_add(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue