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