Skip to content

Commit 10f46b9

Browse files
committed
prevent double toggling
1 parent 7727870 commit 10f46b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonScript/src/PythonScript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ extern "C" __declspec(dllexport) LRESULT messageProc(UINT message, WPARAM wParam
405405
}
406406

407407
case PYSCR_SHOWCONSOLE:
408-
if (g_console)
408+
if (g_console && !g_bToggleConsoleFlag)
409409
{
410410
g_console->showDialog();
411411
}

0 commit comments

Comments
 (0)