Debugger: Prevent caught exception when minimizing debugger

This commit is contained in:
Souryo 2016-12-08 19:31:04 -05:00
parent 8a2c4194a9
commit 8311a2d3c0

View file

@ -124,8 +124,10 @@ namespace Mesen.GUI.Controls
this.Panel1.SuspendLayout();
this.Panel2.SuspendLayout();
try {
this.SplitterDistance++;
this.SplitterDistance--;
if(this.Width > 0 && this.Height > 0) {
this.SplitterDistance++;
this.SplitterDistance--;
}
} catch {
} finally {
this.ResumeLayout();