mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix file selector not opening at right location.
This commit is contained in:
parent
9c0406ec9d
commit
314a1e0e8c
1 changed files with 5 additions and 3 deletions
|
|
@ -215,9 +215,11 @@ public sealed class ModFileSystemSelector : FileSystemSelector<Mod, ModFileSyste
|
||||||
if (!button)
|
if (!button)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var modPath = !_config.AlwaysOpenDefaultImport ? null
|
var modPath = _config.DefaultModImportPath.Length > 0
|
||||||
: _config.DefaultModImportPath.Length > 0 ? _config.DefaultModImportPath
|
? _config.DefaultModImportPath
|
||||||
: _config.ModDirectory.Length > 0 ? _config.ModDirectory : null;
|
: _config.ModDirectory.Length > 0
|
||||||
|
? _config.ModDirectory
|
||||||
|
: null;
|
||||||
|
|
||||||
_fileDialog.OpenFilePicker("Import Mod Pack",
|
_fileDialog.OpenFilePicker("Import Mod Pack",
|
||||||
"Mod Packs{.ttmp,.ttmp2,.pmp},TexTools Mod Packs{.ttmp,.ttmp2},Penumbra Mod Packs{.pmp},Archives{.zip,.7z,.rar}", (s, f) =>
|
"Mod Packs{.ttmp,.ttmp2,.pmp},TexTools Mod Packs{.ttmp,.ttmp2},Penumbra Mod Packs{.pmp},Archives{.zip,.7z,.rar}", (s, f) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue