mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 14:59:42 -05:00
Drag and drop string does not use filename
This commit is contained in:
parent
3eb912bf5a
commit
ad9cacd44a
@ -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…
Reference in New Issue
Block a user