MP Change Control: removed a bunch of invalidate_layout calls

Not sure what assertion it speaks of, but it no longer seems to be an issue.
This commit is contained in:
Charles Dang 2017-04-25 12:54:22 +11:00
parent 07d418f543
commit bf2dfc8f20

View file

@ -328,19 +328,16 @@ public:
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)