GUI2/Drop Down Menu: fixed row toggle callback not firing when selecting row
Regression introduced in 775970f920
since set_value_bool
no longer automatically fired the event.
This commit is contained in:
parent
728204665c
commit
e432ec3358
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ namespace
|
|||
*/
|
||||
grid* row_grid = list.get_row_grid(list.get_selected_row());
|
||||
if(toggle_button* checkbox = find_widget<toggle_button>(row_grid, "checkbox", false, false)) {
|
||||
checkbox->set_value_bool(!checkbox->get_value_bool());
|
||||
checkbox->set_value_bool(!checkbox->get_value_bool(), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue