From 314a1e0e8c044cfd3bd65bd08ee7cd71fc7bb8ee Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 2 May 2023 16:31:18 +0200 Subject: [PATCH] Fix file selector not opening at right location. --- Penumbra/UI/ModsTab/ModFileSystemSelector.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs index 2b5b50ba..758b6aad 100644 --- a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs +++ b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs @@ -215,9 +215,11 @@ public sealed class ModFileSystemSelector : FileSystemSelector 0 ? _config.DefaultModImportPath - : _config.ModDirectory.Length > 0 ? _config.ModDirectory : null; + var modPath = _config.DefaultModImportPath.Length > 0 + ? _config.DefaultModImportPath + : _config.ModDirectory.Length > 0 + ? _config.ModDirectory + : null; _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) =>