mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Squiggle fix for non-default font, manually add method fix
This commit is contained in:
parent
e43beb5794
commit
69e3bf94f7
4 changed files with 15 additions and 11 deletions
|
@ -474,7 +474,8 @@ namespace IDE
|
|||
}
|
||||
|
||||
mChildItems.Insert(index, item);
|
||||
mChildMap.Add(item.mName, item);
|
||||
bool added = mChildMap.TryAdd(item.mName, item);
|
||||
Debug.Assert(added);
|
||||
}
|
||||
|
||||
public virtual void InsertChild(ProjectItem item, ProjectItem insertBefore)
|
||||
|
@ -544,7 +545,7 @@ namespace IDE
|
|||
data.Add("Type", (mIncludeKind == .Ignore) ? "IgnoreFolder" : "Folder");
|
||||
base.Serialize(data);
|
||||
if (mAutoInclude != (mIncludeKind == .Auto))
|
||||
data.ConditionalAdd("AutoInclude", mAutoInclude, true);
|
||||
data.ConditionalAdd("AutoInclude", mAutoInclude, mIncludeKind == .Auto);
|
||||
}
|
||||
if (!mChildItems.IsEmpty)
|
||||
{
|
||||
|
@ -593,7 +594,7 @@ namespace IDE
|
|||
|
||||
bool doPopulate = false;
|
||||
|
||||
bool autoInclude = data.GetBool("AutoInclude", true);
|
||||
bool autoInclude = data.GetBool("AutoInclude", mIncludeKind == .Auto);
|
||||
if ((autoInclude) && (!mAutoInclude))
|
||||
doPopulate = true;
|
||||
mAutoInclude = autoInclude;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue