Skip to content

Commit d76ded3

Browse files
authored
Use last folder path as initial folder in OpenFileDialog
1 parent c29d1d0 commit d76ded3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: UnityLauncherPro/Tools.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ public static string BrowseForOutputFolder(string title)
857857
// https://stackoverflow.com/a/50261723/5452781
858858
// Create a "Save As" dialog for selecting a directory (HACK)
859859
var dialog = new Microsoft.Win32.SaveFileDialog();
860-
dialog.InitialDirectory = "c:"; // Use current value for initial dir
860+
//dialog.InitialDirectory = "c:"; // Use current value for initial dir
861861
dialog.Title = title;
862862
dialog.Filter = "Project Folder|*.Folder"; // Prevents displaying files
863863
dialog.FileName = "Project"; // Filename will then be "select.this.directory"

0 commit comments

Comments
 (0)