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
278
278
string . Format ( Strings . CommandNotExecutableContent . GetLocalizedResource ( ) , command . Code ) ) ;
279
279
else
280
280
await command . ExecuteAsync ( ) ;
281
-
282
- ViewModel . OmnibarCurrentSelectedMode = OmnibarPathMode ;
283
- ViewModel . OmnibarCommandPaletteModeText = string . Empty ;
284
- return ;
285
281
}
286
282
287
283
// 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 )
289
285
{
290
286
// Workaround for https://github.com/microsoft/App-Actions-On-Windows-Samples/issues/7
291
287
var action = ActionManager . Instance . ActionRuntime . ActionCatalog . GetAllActions ( )
You can’t perform that action at this time.
0 commit comments