X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdropdown.cpp;h=1084612304f03b68a303af130aa2b3bd3b1b2f82;hb=878faa0c9283ee1e6e5e67b6ea1324cc52385742;hp=ef0fa22f97c8f150009988b3487c716b1e576cf2;hpb=1597579a34a8d87d4dea0a0cdc0895e6247b6126;p=libs%2Fgltk.git diff --git a/source/dropdown.cpp b/source/dropdown.cpp index ef0fa22..1084612 100644 --- a/source/dropdown.cpp +++ b/source/dropdown.cpp @@ -108,7 +108,7 @@ bool Dropdown::navigate(Navigation nav) return true; } -void Dropdown::on_geometry_change() +void Dropdown::on_size_change() { if(dropped) resize_list(); @@ -191,7 +191,7 @@ void Dropdown::list_item_selected(unsigned index) text.set(list.get_data().get_string(index)); signal_item_selected.emit(index); - rebuild(); + mark_rebuild(); } void Dropdown::list_selection_cleared()