From ad9cacd44afcdcfd9f648cec154590d9714306f6 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 14 Nov 2021 15:49:30 -0800 Subject: [PATCH] Drag and drop string does not use filename --- desktop/src/onionshare/tab/mode/file_selection.py | 4 +--- 1 file changed, 1 insertion(+), 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