mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-25 06:29:54 -04:00
When giving flatpak warning, break before setting the selected dir
This commit is contained in:
parent
f34f4a1a2a
commit
97b50f6752
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ class ReceiveMode(Mode):
|
|||
if self.common.gui.is_flatpak:
|
||||
if not selected_dir.startswith(os.path.expanduser("~/OnionShare")):
|
||||
Alert(self.common, strings._("gui_receive_flatpak_data_dir"))
|
||||
break
|
||||
|
||||
self.common.log(
|
||||
"ReceiveMode",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue