Debugger: Prevent caught exception when minimizing debugger
This commit is contained in:
parent
8a2c4194a9
commit
8311a2d3c0
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue