Skip to content

Commit

Permalink
MP Change Control: removed a bunch of invalidate_layout calls
Browse files Browse the repository at this point in the history
Not sure what assertion it speaks of, but it no longer seems to be an issue.
  • Loading branch information
Vultraz committed Apr 25, 2017
1 parent 07d418f commit bf2dfc8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/dialogs/multiplayer/mp_change_control.cpp
Expand Up @@ -328,19 +328,16 @@ class mp_change_control::view
controller_.show_sides_list();
model_.clear_nicks();
controller_.update_view_from_model();
window.invalidate_layout(); // workaround for assertion failure
}

void handle_sides_list_item_clicked(window& window)
{
controller_.handle_sides_list_item_clicked();
window.invalidate_layout(); // workaround for assertion failure
}

void handle_nicks_list_item_clicked(window& window)
{
controller_.handle_nicks_list_item_clicked();
window.invalidate_layout(); // workaround for assertion failure
}

void bind(window& window)
Expand Down

0 comments on commit bf2dfc8

Please sign in to comment.