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