mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 12:44:19 +01:00
Add memory of last mod path as well as default directory. Add default Author. Fix bugs.
This commit is contained in:
parent
c2a030aa6b
commit
545536f66f
5 changed files with 86 additions and 8 deletions
|
|
@ -45,6 +45,8 @@ public partial class ConfigWindow
|
|||
DrawModSelectorSettings();
|
||||
DrawColorSettings();
|
||||
DrawAdvancedSettings();
|
||||
|
||||
_dialogManager.Draw();
|
||||
}
|
||||
|
||||
// Changing the base mod directory.
|
||||
|
|
@ -92,8 +94,6 @@ public partial class ConfigWindow
|
|||
_dialogOpen = true;
|
||||
}
|
||||
}
|
||||
|
||||
_dialogManager.Draw();
|
||||
}
|
||||
|
||||
private static void DrawOpenDirectoryButton( int id, DirectoryInfo directory, bool condition )
|
||||
|
|
@ -137,7 +137,7 @@ public partial class ConfigWindow
|
|||
ImGui.NewLine();
|
||||
|
||||
if( Penumbra.Config.ModDirectory != _newModDirectory
|
||||
&& _newModDirectory.Length == 0
|
||||
&& _newModDirectory.Length != 0
|
||||
&& ( save || DrawPressEnterWarning( Penumbra.Config.ModDirectory, pos ) ) )
|
||||
{
|
||||
Penumbra.ModManager.DiscoverMods( _newModDirectory );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue