From 96f65c21a9effc97927ae0d4d6fab8d1eaf2befa Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Mon, 13 Dec 2010 17:37:07 +0100 Subject: [PATCH] win32/editor: Consider editor active once window has been created --- src/editor/C4ConsoleWin32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor/C4ConsoleWin32.cpp b/src/editor/C4ConsoleWin32.cpp index b6b6fe339..b3a48ed43 100644 --- a/src/editor/C4ConsoleWin32.cpp +++ b/src/editor/C4ConsoleWin32.cpp @@ -201,6 +201,7 @@ INT_PTR CALLBACK ConsoleDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lPara return true; //------------------------------------------------------------------------------------------------------------ case WM_INITDIALOG: + Console.Active = true; SendMessage(hDlg,DM_SETDEFID,(WPARAM)IDOK,(LPARAM)0); C4ConsoleGUI::State::UpdateMenuText(Console, GetMenu(hDlg)); return true;