diff --git a/tests/app/src/main.cpp b/tests/app/src/main.cpp index 6283f77..d296c09 100644 --- a/tests/app/src/main.cpp +++ b/tests/app/src/main.cpp @@ -830,11 +830,11 @@ class application : public ruisapp::application{ // dropdown { - auto dds = c.get().try_get_widget_as("dropdownselector"); + auto dds = c.get().try_get_widget_as("dropdownselector"); auto ddst = c.get().try_get_widget_as("dropdownselector_selection"); auto ddstw = utki::make_weak(ddst); - dds->selection_handler = [ddstw](ruis::drop_down_box& dds){ + dds->selection_handler = [ddstw](ruis::selection_box& dds){ if(auto t = ddstw.lock()){ std::stringstream ss; ss << "index_" << dds.get_selection();