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

Commit 714eef1

Browse files
netonjmmonojenkins
authored andcommitted
[PropertyPanel] Adds visibility to customproperty panel initial state
1 parent ba11025 commit 714eef1

File tree

1 file changed

+4
-1
lines changed
  • main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ internal void UseCustomWidget (Gtk.Widget widget)
230230
customWidget = true;
231231
frame.Remove (frame.Child);
232232
frame.Add (widget);
233-
widget.Show ();
233+
widget.Show ();
234+
if (container != null) {
235+
widget.Visible = container.ContentVisible;
236+
}
234237
}
235238

236239
void ClearToolbar ()

0 commit comments

Comments
 (0)