re-order prefs_toolbar_cancel()
[claws.git] / src / prefs_toolbar.c
index 2dbc8b41fe78a79edf08a2f8c5c8e0be6b1ea317..48480987e44badac8d25b35fd630cbe1022e4956 100644 (file)
@@ -311,9 +311,9 @@ static void prefs_toolbar_ok(void)
 
 static void prefs_toolbar_cancel(void)
 {
 
 static void prefs_toolbar_cancel(void)
 {
-       prefs_toolbar_close();
        toolbar_update();
        main_window_reflect_prefs_all_real(TRUE);
        toolbar_update();
        main_window_reflect_prefs_all_real(TRUE);
+       prefs_toolbar_close();
 }
 
 static void get_action_name(gchar *entry, gchar **menu)
 }
 
 static void get_action_name(gchar *entry, gchar **menu)