mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-01 04:34:27 -04:00
Allow file uploads to finish, and improve uploads styling
This commit is contained in:
parent
28fe7a4cf5
commit
d8d1dc800d
6 changed files with 70 additions and 25 deletions
|
@ -393,6 +393,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_FINISHED:
|
||||
mode.handle_request_upload_finished(event)
|
||||
|
||||
if event["type"] == Web.REQUEST_ERROR_DOWNLOADS_DIR_CANNOT_CREATE:
|
||||
Alert(self.common, strings._('error_cannot_create_downloads_dir').format(self.common.settings.get('downloads_dir')))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue