forked from Mirrors/openclonk
win32/editor: Consider editor active once window has been created
parent
d59d5b94f1
commit
96f65c21a9
|
@ -201,6 +201,7 @@ INT_PTR CALLBACK ConsoleDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lPara
|
||||||
return true;
|
return true;
|
||||||
//------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
|
Console.Active = true;
|
||||||
SendMessage(hDlg,DM_SETDEFID,(WPARAM)IDOK,(LPARAM)0);
|
SendMessage(hDlg,DM_SETDEFID,(WPARAM)IDOK,(LPARAM)0);
|
||||||
C4ConsoleGUI::State::UpdateMenuText(Console, GetMenu(hDlg));
|
C4ConsoleGUI::State::UpdateMenuText(Console, GetMenu(hDlg));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue