mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
[Script] Reload dialog, on selecting non-selectable item.
This commit is contained in:
parent
c458047ef6
commit
3bf9d3d3b1
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ static ModeMode script_mode_result ( Mode *sw, int mretv, char **input, unsigned
|
|||
}
|
||||
else if ( ( mretv & MENU_OK ) && rmpd->cmd_list[selected_line].entry != NULL ) {
|
||||
if ( rmpd->cmd_list[selected_line].nonselectable ) {
|
||||
return FALSE;
|
||||
return RELOAD_DIALOG;
|
||||
}
|
||||
script_mode_reset_highlight ( sw );
|
||||
new_list = execute_executor ( sw, rmpd->cmd_list[selected_line].entry, &new_length );
|
||||
|
|
Loading…
Add table
Reference in a new issue