Skip to content

Commit

Permalink
MainV2: force layout on autohide disable
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Dec 5, 2017
1 parent a6edc56 commit 7495d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -3549,7 +3549,7 @@ void AutoHideMenu(bool hide)
toolStripConnectionControl.MouseLeave += MainMenu_MouseLeave;
menu.Visible = true;
menu.SendToBack();
this.ResumeLayout(false);
this.ResumeLayout();
}
}

Expand Down

0 comments on commit 7495d26

Please sign in to comment.