aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDH42017-06-23 10:46:32 -0500
committerDH42017-06-23 10:46:32 -0500
commit84ceff7f5490ac5f7e1256a16d82b3b8520cb03a (patch)
treec9ebfb1640406c31094736e3fba514093f855059
parent8c9914850e9987d4f05e8b88dedb058ffbb4f53f (diff)
Fixed Ctrl+End Hotkey
-rw-r--r--mainwindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.py b/mainwindow.py
index d21ca49..778e79a 100644
--- a/mainwindow.py
+++ b/mainwindow.py
@@ -526,7 +526,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):