diff options
author | Micah Lee <micah@micahflee.com> | 2021-11-14 15:49:30 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2021-11-14 15:49:30 -0800 |
commit | ad9cacd44afcdcfd9f648cec154590d9714306f6 (patch) | |
tree | d3e2c7990b071726ecdb1e18a4d03510fe0812ab /desktop/src | |
parent | 3eb912bf5ac8f405c8c9838fb8ca0bba73bc4a9b (diff) | |
download | onionshare-ad9cacd44afcdcfd9f648cec154590d9714306f6.tar.gz onionshare-ad9cacd44afcdcfd9f648cec154590d9714306f6.zip |
Drag and drop string does not use filename
Diffstat (limited to 'desktop/src')
-rw-r--r-- | desktop/src/onionshare/tab/mode/file_selection.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/src/onionshare/tab/mode/file_selection.py b/desktop/src/onionshare/tab/mode/file_selection.py index 7ab110fc..5cf58c70 100644 --- a/desktop/src/onionshare/tab/mode/file_selection.py +++ b/desktop/src/onionshare/tab/mode/file_selection.py @@ -227,9 +227,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(filename) - ) + Alert(self.common, strings._("gui_dragdrop_sandbox_flatpak").format()) event.ignore() return |