mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 22:00:38 -04:00
Drag and drop string does not use filename
This commit is contained in:
parent
3eb912bf5a
commit
ad9cacd44a
1 changed files with 1 additions and 3 deletions
|
@ -227,9 +227,7 @@ class FileList(QtWidgets.QListWidget):
|
||||||
"""
|
"""
|
||||||
# Drag and drop doesn't work in Flatpak, because of the sandbox
|
# Drag and drop doesn't work in Flatpak, because of the sandbox
|
||||||
if self.common.platform == "Linux" and os.path.exists("/app/manifest.json"):
|
if self.common.platform == "Linux" and os.path.exists("/app/manifest.json"):
|
||||||
Alert(
|
Alert(self.common, strings._("gui_dragdrop_sandbox_flatpak").format())
|
||||||
self.common, strings._("gui_dragdrop_sandbox_flatpak").format(filename)
|
|
||||||
)
|
|
||||||
event.ignore()
|
event.ignore()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue