diff options
author | smatz <smatz@openttd.org> | 2008-05-07 15:53:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-07 15:53:58 +0000 |
commit | 0c4715d8256a875249fab2389dd19cd437e4e97b (patch) | |
tree | f35bd6dd41b3f38939ae87e83a7b3deface8ada5 | |
parent | c2c9121307e3d26b84b930ffdfb1438b49a0619a (diff) | |
download | openttd-0c4715d8256a875249fab2389dd19cd437e4e97b.tar.xz |
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 8d0c3d2d6..422687d2e 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -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; } |