commit b2e357547140413bfa23f20790f5091060e001a5
parent e7436fb6938e61b5c62c2cd296222baaa3b78a0c
Author: wwp <subscript@free.fr>
Date: Wed, 1 Sep 2021 12:20:46 +0200
Fix a missing wait mouse cursor at some point.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mainwindow.c b/src/mainwindow.c
@@ -4615,6 +4615,8 @@ static void thread_cb(GtkAction *action, gpointer data)
if (mainwin->menu_lock_count) return;
if (!mainwin->summaryview->folder_item) return;
+ main_window_cursor_wait(mainwin);
+
selected_msgnum = summary_get_msgnum(mainwin->summaryview, mainwin->summaryview->selected);
threaded = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action));
@@ -4626,6 +4628,8 @@ static void thread_cb(GtkAction *action, gpointer data)
summary_show(mainwin->summaryview,
mainwin->summaryview->folder_item, FALSE);
summary_select_by_msgnum(mainwin->summaryview, selected_msgnum, FALSE);
+
+ main_window_cursor_normal(mainwin);
}
static void expand_threads_cb(GtkAction *action, gpointer data)