mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
UDBScript: expanded/collapsed status of the directory structure is now saved correctly
This commit is contained in:
parent
843058c76c
commit
86cc9ca909
1 changed files with 2 additions and 2 deletions
|
@ -226,11 +226,11 @@ namespace CodeImp.DoomBuilder.UDBScript
|
|||
{
|
||||
if(root.Expanded)
|
||||
{
|
||||
General.Settings.WritePluginSetting("directoryexpand." + root.Hash, true);
|
||||
General.Settings.DeletePluginSetting("directoryexpand." + root.Hash);
|
||||
}
|
||||
else
|
||||
{
|
||||
General.Settings.DeletePluginSetting("directoryexpand." + root.Hash);
|
||||
General.Settings.WritePluginSetting("directoryexpand." + root.Hash, false);
|
||||
}
|
||||
|
||||
foreach (ScriptDirectoryStructure sds in root.Directories)
|
||||
|
|
Loading…
Reference in a new issue