Skip to content

Commit 382a77d

Browse files
committed
Fix ShellPath directory for shell path selection
Updated OpenShellPath to use Settings.ShellPath directory when prompting for a file path, ensuring the dialog opens in the relevant location instead of the editor path directory.
1 parent 8d4e03b commit 382a77d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ private void OpenFolderEditorPath()
532532
[RelayCommand]
533533
private void OpenShellPath()
534534
{
535-
var path = PromptUserSelectPath(ResultType.File, Settings.EditorPath != null ? Path.GetDirectoryName(Settings.EditorPath) : null);
535+
var path = PromptUserSelectPath(ResultType.File, Settings.ShellPath != null ? Path.GetDirectoryName(Settings.ShellPath) : null);
536536
if (path is null)
537537
return;
538538

0 commit comments

Comments
 (0)