If vimb was quit by keybinding, we tried to update the status bar after the
widgets where destroyed that lead to errors.
GSList *link = find(CLEAN_MODE(vb.state.mode), vb.state.modkey, state, keyval);
if (link) {
- Keybind *keybind = (Keybind*)link->data;
- command_run(keybind->command, keybind->param);
-
vb.state.modkey = vb.state.count = 0;
vb_update_statusbar();
+ Keybind *keybind = (Keybind*)link->data;
+ command_run(keybind->command, keybind->param);
+
return true;
}