mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
This commit is contained in:
parent
b6ec43896d
commit
cc107fe0f9
@ -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
Block a user