Skip to content
Snippets Groups Projects
Commit 86cc9ca9 authored by biwa's avatar biwa
Browse files

UDBScript: expanded/collapsed status of the directory structure is now saved correctly

parent 843058c7
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment