diff --git a/rosenrot.c b/rosenrot.c index eb41c36..0284c7b 100644 --- a/rosenrot.c +++ b/rosenrot.c @@ -252,6 +252,12 @@ int handle_shortcut(func id, GtkNotebook* notebook) webkit_web_view_go_forward(view); break; + case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */ + if (custom_style_enabled) + custom_style_enabled = 0; + else + custom_style_enabled = 1; + // break; passthrough case refresh: webkit_web_view_reload(view); break; @@ -310,12 +316,6 @@ int handle_shortcut(func id, GtkNotebook* notebook) gtk_window_fullscreen(window); is_fullscreen = !is_fullscreen; break; - case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */ - if (custom_style_enabled) - custom_style_enabled = 0; - else - custom_style_enabled = 1; - break; case show_searchbar: toggle_bar(notebook, _SEARCH); break;