summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
Diffstat (limited to 'module/database')
-rw-r--r--module/database/FileDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py
index 564fc4562..d51241591 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -175,7 +175,7 @@ class FileHandler:
packs = self.packageCache.values()
for pack in packs:
- if pack.queue != queue and p.order < oldorder:
+ if pack.queue == p.queue and p.order < oldorder:
pack.order -= 1
pack.notifyChange()