Also check if it's disposed
This commit is contained in:
parent
f91006a1dc
commit
9afacd835c
Binary file not shown.
@ -1145,7 +1145,7 @@ namespace Toolbox
|
|||||||
|
|
||||||
private void consoleToolStripMenuItem_Click(object sender, EventArgs e)
|
private void consoleToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (form == null)
|
if (form == null || form.IsDisposed)
|
||||||
{
|
{
|
||||||
form = new STConsoleForm();
|
form = new STConsoleForm();
|
||||||
form.Show(this);
|
form.Show(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user