Compare commits

...

2 commits

2 changed files with 2 additions and 3 deletions

View file

@ -469,10 +469,9 @@ class StatusBar(ComponentBase):
elif action == 'delete':
acct.api.admin_domains_unblock(row.id)
del row.domain
self.window.notification(f'Unblocked domain: {row.domain}')
elif action == 'refresh':
elif action in {'refresh', 'save', 'delete'}:
Thread(target=self.fediban_refresh, kwargs={'force': True}).start()
if action in {'save', 'delete', 'close'}:

View file

@ -552,7 +552,7 @@ class NotificationTimeout(Thread):
def run_func(self, timeout, bar, label):
self.stop_event.wait(timeout)
bar.set_reveal_child(False)
run_in_gui_thread(bar.set_reveal_child, False)
class AutocompleteTimeout(threading.Thread):