Debugger: Fixed crash when minimizing debugger

This commit is contained in:
Souryo 2016-12-06 23:18:59 -05:00
parent de5df89654
commit f0f47d214a

View File

@ -123,11 +123,15 @@ namespace Mesen.GUI.Controls
this.SuspendLayout();
this.Panel1.SuspendLayout();
this.Panel2.SuspendLayout();
this.SplitterDistance++;
this.SplitterDistance--;
this.ResumeLayout();
this.Panel1.ResumeLayout();
this.Panel2.ResumeLayout();
try {
this.SplitterDistance++;
this.SplitterDistance--;
} catch {
} finally {
this.ResumeLayout();
this.Panel1.ResumeLayout();
this.Panel2.ResumeLayout();
}
}
this.Invalidate();
lock(this) {