1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed

This commit is contained in:
smatz
2008-05-07 15:53:58 +00:00
parent c2c9121307
commit 0c4715d825

@@ -1326,7 +1326,7 @@ static void PlayerMenuWndProc(Window *w, WindowEvent *e)
case WE_DESTROY: { case WE_DESTROY: {
Window *v = FindWindowById(WC_MAIN_TOOLBAR, 0); Window *v = FindWindowById(WC_MAIN_TOOLBAR, 0);
v->RaiseWidget(WP(w, menu_d).main_button); v->RaiseWidget(WP(w, menu_d).main_button);
w->SetDirty(); v->SetDirty();
return; return;
} }