mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04: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 ) {
|
else if ( ( mretv & MENU_OK ) && rmpd->cmd_list[selected_line].entry != NULL ) {
|
||||||
if ( rmpd->cmd_list[selected_line].nonselectable ) {
|
if ( rmpd->cmd_list[selected_line].nonselectable ) {
|
||||||
return FALSE;
|
return RELOAD_DIALOG;
|
||||||
}
|
}
|
||||||
script_mode_reset_highlight ( sw );
|
script_mode_reset_highlight ( sw );
|
||||||
new_list = execute_executor ( sw, rmpd->cmd_list[selected_line].entry, &new_length );
|
new_list = execute_executor ( sw, rmpd->cmd_list[selected_line].entry, &new_length );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue