mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
This commit is contained in:
parent
c2c9121307
commit
0c4715d825
@ -1326,7 +1326,7 @@ static void PlayerMenuWndProc(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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user