From 7495d2634c4c08968faf458e2b1dc72d206cc18e Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Tue, 5 Dec 2017 20:11:39 +0800 Subject: [PATCH] MainV2: force layout on autohide disable --- MainV2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MainV2.cs b/MainV2.cs index ea1e151ffe..429f1e10d7 100644 --- a/MainV2.cs +++ b/MainV2.cs @@ -3537,7 +3537,7 @@ void AutoHideMenu(bool hide) MainMenu.MouseLeave -= MainMenu_MouseLeave; panel1.MouseLeave -= MainMenu_MouseLeave; toolStripConnectionControl.MouseLeave -= MainMenu_MouseLeave; - this.ResumeLayout(false); + this.ResumeLayout(); } else { @@ -3549,7 +3549,7 @@ void AutoHideMenu(bool hide) toolStripConnectionControl.MouseLeave += MainMenu_MouseLeave; menu.Visible = true; menu.SendToBack(); - this.ResumeLayout(false); + this.ResumeLayout(); } }