gui2/tcustom_tod: Fix window disappearing after RGB slider updates

Since there is no longer a direct way to mark the whole window as dirty
for some reason, we need to both invalidate the layout and force it to
be redrawn in its entirety.
This commit is contained in:
Ignacio R. Morelle 2013-11-30 01:20:48 -03:00
parent 9688b6d422
commit 1d21db5f02

View file

@ -204,6 +204,9 @@ void tcustom_tod::update_tod_display(twindow& window)
// redraw tiles
display_->draw();
}
window.invalidate_layout();
window.draw();
}
void tcustom_tod::update_lawful_bonus(twindow& window)