Opened 11 years ago

Closed 11 years ago

#2222 closed defect (fixed)

Maestro RtMapInspector: additional display of nested layers

Reported by: gBecker Owned by: jng
Priority: low Milestone: Maestro-5.0
Component: Maestro Version: 2.4.0
Severity: trivial Keywords:
Cc: External ID:

Description

When viewing a runtime map with nested groups in the RtMapInsector all nested groups were also drawn as child folders of the root in the treeview.

To fix this simply change (line 510-513)

foreach (var group in _rtMap.Groups)
{
     node.Nodes.Add(CreateGroupNode(group));
}

to

foreach (var group in _rtMap.Groups)
{
     if (group.Group == String.Empty)
          node.Nodes.Add(CreateGroupNode(group));
}

Attachments (1)

MainForm.cs.patch (545 bytes ) - added by gBecker 11 years ago.
Patch for ticket 2222

Download all attachments as: .zip

Change History (4)

comment:1 by jng, 11 years ago

It seems you've already done most of the work :)

Do you have a patch for this?

by gBecker, 11 years ago

Attachment: MainForm.cs.patch added

Patch for ticket 2222

comment:2 by gBecker, 11 years ago

Patch attached!

comment:3 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed r7387. Thanks for the patch.

Note: See TracTickets for help on using tickets.