mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-03-03 16:11:45 +00:00
Merged in GZDB r2475.
This commit is contained in:
parent
5cf574f42d
commit
b604dfc4af
3 changed files with 6 additions and 3 deletions
|
@ -359,9 +359,9 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
// Select this
|
||||
if(n.TreeView != null) //mxd. Tree node may've been removed during filtering
|
||||
{
|
||||
n.Parent.Expand();
|
||||
typelist.SelectedNodes.Add(n);
|
||||
n.EnsureVisible();
|
||||
if (n.Parent != null) n.Parent.Expand(); // node won't have parent when the list is prefiltered
|
||||
typelist.SelectedNodes.Add(n);
|
||||
n.EnsureVisible();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -485,6 +485,9 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
protected void SkipStructure() { SkipStructure(new HashSet<string>()); }
|
||||
protected void SkipStructure(HashSet<string> breakat)
|
||||
{
|
||||
// We need it to be case-insensitive
|
||||
if (breakat.Count > 0) breakat = new HashSet<string>(breakat, StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
string token;
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue