Custom Toolbar: fix crash on CANCEL
[claws.git] / src / prefs_toolbar.c
index 8611ccfe1d10443722ce5c1892f5f77580314d7b..0a97c42e5d8cfc91e9bd9ee20cad0a71adb38abb 100644 (file)
@@ -312,6 +312,7 @@ static void prefs_toolbar_ok(void)
 static void prefs_toolbar_cancel(void)
 {
        prefs_toolbar_close();
+       toolbar_update();
 }
 
 static void get_action_name(gchar *entry, gchar **menu)