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:
parent
d4d757a7c0
commit
3e272b2b00
1 changed files with 3 additions and 3 deletions
|
@ -580,7 +580,7 @@ static void textbox_cursor_del_word ( textbox *tb )
|
||||||
int textbox_keybinding ( textbox *tb, KeyBindingAction action )
|
int textbox_keybinding ( textbox *tb, KeyBindingAction action )
|
||||||
{
|
{
|
||||||
if ( !( tb->flags & TB_EDITABLE ) ) {
|
if ( !( tb->flags & TB_EDITABLE ) ) {
|
||||||
g_return_val_if_reached ( 0 );
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ( action )
|
switch ( action )
|
||||||
|
|
Loading…
Add table
Reference in a new issue