Show selected control name in title bar
This commit is contained in:
parent
c8534e8977
commit
bddde78f28
1 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,8 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
_inspectedWidget = value;
|
||||
|
||||
this.Text = "Inspector" + (string.IsNullOrEmpty(_inspectedWidget?.Name) ? "" : " - " + _inspectedWidget.Name);
|
||||
|
||||
if (_inspectedWidget != null)
|
||||
{
|
||||
ancestryTree = new HashSet<GuiWidget>(_inspectedWidget.Parents<GuiWidget>());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue