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:
Micah Lee 2020-06-30 13:33:30 -07:00
parent f65e50f399
commit 44f732d716
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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):
"""