Compare commits
2 commits
2f412057cc
...
0bc001dee3
Author | SHA1 | Date | |
---|---|---|---|
Izalia Mae | 0bc001dee3 | ||
Izalia Mae | 4f6abd3e66 |
|
@ -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'}:
|
||||
|
|
|
@ -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):
|
||||
|
|
Reference in a new issue