From 440a4a36b4d28fdc7928c27cb5115f7a186ff8c5 Mon Sep 17 00:00:00 2001 From: Dpeta Date: Tue, 10 Aug 2021 00:38:42 +0200 Subject: [PATCH] Fixed manual chum sort not working --- CHANGELOG.md | 1 + pesterchum.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8b1f51..8b0ed68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - A few memo/convo related syntax errors in a few themes - nothing.png being missing in some themes. - 64-bit crt for PyInstaller +- Manual sort not working ### Changed - Honk emote now only triggers when typing ':honk:' instead of on every 'honk'. diff --git a/pesterchum.py b/pesterchum.py index dac9368..546d965 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -427,11 +427,11 @@ class chumArea(RightClickTree): try: # create mime data object mime = QtCore.QMimeData() - mime.setData('application/x-item', '???') + mime.setData('application/x-item', QtCore.QByteArray()) # Voodoo programming :"3 # start drag drag = QtGui.QDrag(self) drag.setMimeData(mime) - drag.start(QtCore.Qt.MoveAction) + drag.exec_(QtCore.Qt.MoveAction) except: logging.exception('')