mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Filepicker bugfix for it not opening to current selected file/folder
This commit is contained in:
parent
1a5e052aef
commit
0dc0c11e9f
@ -794,7 +794,7 @@ namespace Wabbajack.Common
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(path))
|
||||
{
|
||||
return ErrorResponse.Fail("Path was empty.");
|
||||
return ErrorResponse.Fail("Path is empty.");
|
||||
}
|
||||
try
|
||||
{
|
||||
@ -819,7 +819,7 @@ namespace Wabbajack.Common
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(path))
|
||||
{
|
||||
return ErrorResponse.Fail("Path was empty");
|
||||
return ErrorResponse.Fail("Path is empty");
|
||||
}
|
||||
try
|
||||
{
|
||||
|
@ -190,10 +190,10 @@ namespace Wabbajack
|
||||
{
|
||||
Title = PromptTitle,
|
||||
IsFolderPicker = PathType == PathTypeOptions.Folder,
|
||||
InitialDirectory = TargetPath,
|
||||
InitialDirectory = dirPath,
|
||||
AddToMostRecentlyUsedList = false,
|
||||
AllowNonFileSystemItems = false,
|
||||
DefaultDirectory = TargetPath,
|
||||
DefaultDirectory = dirPath,
|
||||
EnsureFileExists = true,
|
||||
EnsurePathExists = true,
|
||||
EnsureReadOnly = false,
|
||||
|
Loading…
Reference in New Issue
Block a user