From bddde78f28e28732ee73cd5827474bda60939ee8 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Sat, 23 Sep 2017 00:30:07 -0700 Subject: [PATCH] Show selected control name in title bar --- Utilities/InspectForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/InspectForm.cs b/Utilities/InspectForm.cs index 426deb9b5..3213095d8 100644 --- a/Utilities/InspectForm.cs +++ b/Utilities/InspectForm.cs @@ -81,6 +81,8 @@ namespace MatterHackers.MatterControl _inspectedWidget = value; + this.Text = "Inspector" + (string.IsNullOrEmpty(_inspectedWidget?.Name) ? "" : " - " + _inspectedWidget.Name); + if (_inspectedWidget != null) { ancestryTree = new HashSet(_inspectedWidget.Parents());