mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-03 10:00:10 -05:00
When giving flatpak warning, break before setting the selected dir
This commit is contained in:
parent
903f4001e5
commit
7b5c8e8b31
@ -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…
x
Reference in New Issue
Block a user