mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-23 22:39:41 -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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user