mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-16 22:06:34 +00:00
Debugger: Fixed crash when minimizing debugger
This commit is contained in:
parent
de5df89654
commit
f0f47d214a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user