mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 09:02:30 +00:00
Fix the disappearing icons in the campaign dialog.
Seems the changes in 2009-12-20T20:46:27Z!koraq@xs4all.nl are not needed and break things so revert that and revert 2009-12-21T12:02:24Z!alinkmaze@gmail.com which is no longer needed. Fixes bug #14983.
This commit is contained in:
parent
bcbb28a809
commit
16529a0473
@ -182,7 +182,7 @@ void twidget::populate_dirty_list(twindow& caller,
|
||||
{
|
||||
assert(call_stack.empty() || call_stack.back() != this);
|
||||
|
||||
if(visible_ == twidget::INVISIBLE) {
|
||||
if(visible_ != VISIBLE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -659,7 +659,7 @@ void twindow::draw()
|
||||
|
||||
std::vector<twidget*> call_stack;
|
||||
populate_dirty_list(*this, call_stack);
|
||||
//assert(dirty_list_.empty());
|
||||
assert(dirty_list_.empty());
|
||||
|
||||
SDL_Rect rect = get_rect();
|
||||
update_rect(rect);
|
||||
|
Loading…
x
Reference in New Issue
Block a user