mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-15 08:19:08 -05:00
Update the GUI when the browser has canceled an upload in Receive Mode. Don't increment the completed counter
This commit is contained in:
parent
1dbd82f74a
commit
51e98f40e7
2 changed files with 4 additions and 6 deletions
|
|
@ -198,9 +198,7 @@ class ReceiveMode(Mode):
|
|||
self.history.update(event["data"]["id"], {
|
||||
'action': 'canceled'
|
||||
})
|
||||
self.history.completed_count += 1
|
||||
self.history.in_progress_count -= 1
|
||||
self.history.update_completed()
|
||||
self.history.update_in_progress()
|
||||
|
||||
def on_reload_settings(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue