mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[DMenu] Do not show the Loading.. overlay when skipping loading stage.
This commit is contained in:
parent
603676e640
commit
fd146b0519
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ int dmenu_switcher_dialog ( void )
|
|||
find_arg_str ( "-p", &( dmenu_mode.display_name ) );
|
||||
RofiViewState *state = rofi_view_create ( &dmenu_mode, input, menu_flags, dmenu_finalize );
|
||||
// @TODO we should do this better.
|
||||
if ( async ) {
|
||||
if ( async && (pd->cancel != NULL ) ) {
|
||||
rofi_view_set_overlay ( state, "Loading.. " );
|
||||
}
|
||||
rofi_view_set_selected_line ( state, pd->selected_line );
|
||||
|
|
Loading…
Reference in a new issue