mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 15:29:42 -05:00
When setting the data_dir in the GUI, set it to the new directory that was just selected, not the one that was already there
This commit is contained in:
parent
f65e50f399
commit
44f732d716
@ -141,7 +141,7 @@ class ReceiveMode(Mode):
|
||||
f"selected dir: {selected_dir}",
|
||||
)
|
||||
self.data_dir_lineedit.setText(selected_dir)
|
||||
self.settings.set("receive", "data_dir", data_dir)
|
||||
self.settings.set("receive", "data_dir", selected_dir)
|
||||
|
||||
def get_stop_server_autostop_timer_text(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user