mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix delete index out of bound issue
This commit is contained in:
parent
a02d020fed
commit
f35d36bd6d
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
public int CustomExplorerIndex { get; set; } = 0;
|
||||
public CustomExplorerViewModel CustomExplorer
|
||||
{
|
||||
get => CustomExplorerList[CustomExplorerIndex];
|
||||
get => CustomExplorerList[CustomExplorerIndex < CustomExplorerList.Count ? CustomExplorerIndex : 0];
|
||||
set => CustomExplorerList[CustomExplorerIndex] = value;
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
Path = @"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe",
|
||||
DirectoryArgument = "/cmd Go \"%d\"",
|
||||
FileArgument = "/cmd Go \"%f\""
|
||||
|
||||
|
||||
},
|
||||
new()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue