summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <[email protected]>2012-05-01 16:57:20 -0400
committerAlexei Sorokin <[email protected]>2016-08-23 00:31:05 +0300
commit5fcf9b65a2e21b47ec2cba5f7cc8bd6cc68c97f3 (patch)
tree09dbb6578fe8fdb50f5961d14686dd9ef53650cf
parentc5b00b04b6a9923d72a392063bb3875d4ab8a2e2 (diff)
downloadmozo-5fcf9b65a2e21b47ec2cba5f7cc8bd6cc68c97f3.tar.bz2
mozo-5fcf9b65a2e21b47ec2cba5f7cc8bd6cc68c97f3.tar.xz
MainWindow: fix drag/drop handlers
-rw-r--r--Mozo/MainWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mozo/MainWindow.py b/Mozo/MainWindow.py
index 74e5fd8..809b062 100644
--- a/Mozo/MainWindow.py
+++ b/Mozo/MainWindow.py
@@ -556,7 +556,7 @@ class MainWindow:
after = None
if drop_info:
path, position = drop_info
- if position in types:
+ if position in types_before:
before = items[path][3]
else:
after = items[path][3]