(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty

This commit is contained in:
smatz 2008-05-07 18:14:09 +00:00
parent b6ec43896d
commit cc107fe0f9

View File

@ -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;
} }