1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-01-27 15:25:24 -05:00

Don't throw error when textbox gets input but is not editable.

This commit is contained in:
Dave Davenport 2016-09-17 18:34:04 +02:00
parent d4d757a7c0
commit 3e272b2b00

View file

@ -580,7 +580,7 @@ static void textbox_cursor_del_word ( textbox *tb )
int textbox_keybinding ( textbox *tb, KeyBindingAction action )
{
if ( !( tb->flags & TB_EDITABLE ) ) {
g_return_val_if_reached ( 0 );
return 0;
}
switch ( action )