diff options
author | mkaay <mkaay@mkaay.de> | 2010-03-20 00:10:28 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-03-20 00:10:28 +0100 |
commit | fa8727d27172ffe5d1f5d16f243a1e9c23a03100 (patch) | |
tree | 1e8b31d31df2c9082376496a1c40f497bde852c4 /pyLoadGui.py | |
parent | core ssl fix, nginx support, https for lighttpd and nginx (diff) | |
download | pyload-fa8727d27172ffe5d1f5d16f243a1e9c23a03100.tar.xz |
fixed #86
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-x | pyLoadGui.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py index 0287faf14..045aeb1a4 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -199,18 +199,18 @@ class main(QObject): view.takeTopLevelItem(row) def dragEvent(klass, event): view = event.source() - dragOkay = False - items = view.selectedItems() - for item in items: - if hasattr(item, "_data"): - if item._data["id"] == "fixed" or item.parent()._data["id"] == "fixed": - dragOkay = True - else: - dragOkay = True - if dragOkay: - event.accept() - else: - event.ignore() + #dragOkay = False + #items = view.selectedItems() + #for item in items: + # if hasattr(item, "_data"): + # if item._data["id"] == "fixed" or item.parent()._data["id"] == "fixed": + # dragOkay = True + # else: + # dragOkay = True + #if dragOkay: + event.accept() + #else: + # event.ignore() view.dropEvent = dropEvent view.dragEnterEvent = dragEvent view.setDragEnabled(True) |