From 37b136576df138bc4409ca23c59a8379b83ddafb Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 Jan 2012 20:39:50 +0000 Subject: (svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened --- src/game/game_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp index 2816a6223..27dd63b54 100644 --- a/src/game/game_core.cpp +++ b/src/game/game_core.cpp @@ -178,7 +178,7 @@ InvalidateWindowData(WC_AI_LIST, 0, 1); SetWindowClassesDirty(WC_AI_DEBUG); - SetWindowDirty(WC_AI_SETTINGS, 0); + InvalidateWindowClassesData(WC_AI_SETTINGS); } -- cgit v1.2.3-54-g00ecf