diff options
author | Micah Lee <micah@micahflee.com> | 2021-11-14 16:11:39 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2021-11-14 16:11:39 -0800 |
commit | 6b521c152ebcef881247181426310a576ea10413 (patch) | |
tree | 0c5fd70ccfc35b2f29cdf3d748ace1f875444dd1 /desktop/src | |
parent | ab800c577a37db53c2b2566c7b850eea90938ee2 (diff) | |
download | onionshare-6b521c152ebcef881247181426310a576ea10413.tar.gz onionshare-6b521c152ebcef881247181426310a576ea10413.zip |
Show the alert on the the dragEnterEvent
Diffstat (limited to 'desktop/src')
-rw-r--r-- | desktop/src/onionshare/tab/mode/file_selection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/src/onionshare/tab/mode/file_selection.py b/desktop/src/onionshare/tab/mode/file_selection.py index ea80de53..40ca1685 100644 --- a/desktop/src/onionshare/tab/mode/file_selection.py +++ b/desktop/src/onionshare/tab/mode/file_selection.py @@ -187,6 +187,7 @@ class FileList(QtWidgets.QListWidget): """ # Drag and drop doesn't work in Flatpak, because of the sandbox if self.common.platform == "Linux" and os.path.exists("/app/manifest.json"): + Alert(self.common, strings._("gui_dragdrop_sandbox_flatpak").format()) event.ignore() return @@ -242,7 +243,6 @@ class FileList(QtWidgets.QListWidget): """ # Drag and drop doesn't work in Flatpak, because of the sandbox if self.common.platform == "Linux" and os.path.exists("/app/manifest.json"): - Alert(self.common, strings._("gui_dragdrop_sandbox_flatpak").format()) event.ignore() return |