Drag and drop string does not use filename

This commit is contained in:
Micah Lee 2021-11-14 15:49:30 -08:00
parent 3eb912bf5a
commit ad9cacd44a
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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