Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit cefb688

Browse files
authored
Merge pull request #8883 from mono/fix-999288
Don't allow Reset current property pad in case of item focused changed
2 parents d6129fc + 59795b4 commit cefb688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/PropertyPadVisitor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public void End ()
7373
return;
7474
}
7575
}
76-
DesignerSupport.Service.ReSetPad ();
7776
}
7877
}
7978

@@ -85,11 +84,12 @@ public bool Visit (object ob)
8584
if (ob == ((DefaultWorkbench)IdeApp.Workbench.RootWindow).ActiveWorkbenchWindow)
8685
visitedCurrentDoc = true;
8786

88-
if (ob is MonoDevelop.Components.Docking.AutoHideBox) {
87+
if (ob is Components.Docking.AutoHideBox) {
8988
found = true;
9089
return true;
9190
}
92-
if (ob is IPropertyPad) {
91+
92+
if (ob is PropertyPad) {
9393
// Don't change the property grid selection when the focus is inside the property grid itself
9494
found = true;
9595
return true;

0 commit comments

Comments
 (0)