diff options
Diffstat (limited to 'mainwindow.py')
| -rw-r--r-- | mainwindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.py b/mainwindow.py index e86abe6..cdc2a51 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -543,7 +543,7 @@ class MainWindow(QtGui.QMainWindow): def moveComponentBottom(self): componentList = self.window.listWidget_componentList - row = len(componentList)-1 + row = len(componentList)-componentList.currentRow()-1 self.moveComponent(row) def dragComponent(self, event): |
