mirror of https://github.com/OpenTTD/OpenTTD
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
parent
c3822e3a90
commit
220bc49731
|
@ -1129,7 +1129,7 @@ static void MenuWndProc(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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue