File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/Files.App/UserControls Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -278,14 +278,10 @@ await DialogDisplayHelper.ShowDialogAsync(Strings.CommandNotExecutable.GetLocali
278278 string . Format ( Strings . CommandNotExecutableContent . GetLocalizedResource ( ) , command . Code ) ) ;
279279 else
280280 await command . ExecuteAsync ( ) ;
281-
282- ViewModel . OmnibarCurrentSelectedMode = OmnibarPathMode ;
283- ViewModel . OmnibarCommandPaletteModeText = string . Empty ;
284- return ;
285281 }
286282
287283 // Try invoking Windows app action
288- if ( ActionManager . Instance . ActionRuntime is not null && item . ActionInstance is ActionInstance actionInstance )
284+ else if ( ActionManager . Instance . ActionRuntime is not null && item . ActionInstance is ActionInstance actionInstance )
289285 {
290286 // Workaround for https://github.com/microsoft/App-Actions-On-Windows-Samples/issues/7
291287 var action = ActionManager . Instance . ActionRuntime . ActionCatalog . GetAllActions ( )
You can’t perform that action at this time.
0 commit comments