mirror of https://github.com/OpenTTD/OpenTTD
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue