Communicate the receive mode dir to the GUI, so clicking the open folder button opens the file manager to the correct directory

This commit is contained in:
Micah Lee 2018-10-25 21:38:20 -07:00
parent 6233487ecd
commit 65b4afeba3
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
7 changed files with 52 additions and 4 deletions

View file

@ -390,6 +390,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
elif event["type"] == Web.REQUEST_UPLOAD_FILE_RENAMED:
mode.handle_request_upload_file_renamed(event)
elif event["type"] == Web.REQUEST_UPLOAD_SET_DIR:
mode.handle_request_upload_set_dir(event)
elif event["type"] == Web.REQUEST_UPLOAD_FINISHED:
mode.handle_request_upload_finished(event)