mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
CmdPal: fix files not having an open command (#40990)
Yea, it's that dumb. Regressed in #40768
This commit is contained in:
@@ -85,6 +85,10 @@ internal sealed partial class IndexerListItem : ListItem
|
|||||||
commands.Add(new CommandContextItem(openCommand));
|
commands.Add(new CommandContextItem(openCommand));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
commands.Add(new CommandContextItem(openCommand));
|
||||||
|
}
|
||||||
|
|
||||||
commands.Add(new CommandContextItem(new OpenWithCommand(fullPath)));
|
commands.Add(new CommandContextItem(new OpenWithCommand(fullPath)));
|
||||||
commands.Add(new CommandContextItem(new ShowFileInFolderCommand(fullPath) { Name = Resources.Indexer_Command_ShowInFolder }));
|
commands.Add(new CommandContextItem(new ShowFileInFolderCommand(fullPath) { Name = Resources.Indexer_Command_ShowInFolder }));
|
||||||
|
|||||||
Reference in New Issue
Block a user