1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty

This commit is contained in:
smatz
2008-05-07 18:14:09 +00:00
parent c3822e3a90
commit 220bc49731

View File

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