We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434b409 commit 68cc6c4Copy full SHA for 68cc6c4
Flow.Launcher.Infrastructure/UserSettings/Settings.cs
@@ -41,7 +41,7 @@ public string Language
41
public int CustomExplorerIndex { get; set; } = 0;
42
public CustomExplorerViewModel CustomExplorer
43
{
44
- get => CustomExplorerList[CustomExplorerIndex];
+ get => CustomExplorerList[CustomExplorerIndex < CustomExplorerList.Count ? CustomExplorerIndex : 0];
45
set => CustomExplorerList[CustomExplorerIndex] = value;
46
}
47
@@ -68,7 +68,7 @@ public CustomExplorerViewModel CustomExplorer
68
Path = @"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe",
69
DirectoryArgument = "/cmd Go \"%d\"",
70
FileArgument = "/cmd Go \"%f\""
71
-
+
72
},
73
new()
74
0 commit comments