From 6b5693013e9471a46da46e4ce8d0d956b7814734 Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Wed, 24 Apr 2024 23:14:47 +0800 Subject: [PATCH] Fix/tooltip not display (#394) Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com> --- schedule/disperse_siblings.py | 2 +- schedule/reschedule.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schedule/disperse_siblings.py b/schedule/disperse_siblings.py index 37a240c..201d598 100644 --- a/schedule/disperse_siblings.py +++ b/schedule/disperse_siblings.py @@ -173,7 +173,7 @@ def disperse_siblings_backgroud( undo_entry = mw.col.add_custom_undo_entry("Disperse Siblings") mw.taskman.run_on_main( lambda: mw.progress.start( - label="Siblings Dispersing", max=sibilings_cnt, immediate=False + label="Dispersing Siblings", max=sibilings_cnt, immediate=True ) ) diff --git a/schedule/reschedule.py b/schedule/reschedule.py index 6707877..627a766 100644 --- a/schedule/reschedule.py +++ b/schedule/reschedule.py @@ -220,7 +220,7 @@ def reschedule_background( total_cnt = len(cid_did_nid) undo_entry = mw.col.add_custom_undo_entry("Reschedule") mw.taskman.run_on_main( - lambda: mw.progress.start(label="Rescheduling", max=total_cnt, immediate=False) + lambda: mw.progress.start(label="Rescheduling", max=total_cnt, immediate=True) ) # x[0]: cid # x[1]: did