diff options
author | mkaay <mkaay@mkaay.de> | 2010-03-23 19:15:37 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-03-23 19:15:37 +0100 |
commit | 2d059af39fe159f90e4c9e529c63329fe2fd4e5f (patch) | |
tree | 8b49c760e798686bb70ace9b9674228a726d7dd3 /pyLoadGui.py | |
parent | new help screens and argv parsing (diff) | |
parent | config fix (diff) | |
download | pyload-2d059af39fe159f90e4c9e529c63329fe2fd4e5f.tar.xz |
merge
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) |