Update ui_looking_glass_app.cpp

Restoring accidentally deleted filter_config.on_change
This commit is contained in:
gullradriel 2023-04-09 08:26:09 +02:00 committed by GitHub
parent cc2bb772e5
commit ba3114c0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,6 +338,12 @@ namespace ui
};
level_integration.set_selected_index(2); //default integration of ( 3 * old value + new_value ) / 4
filter_config.set_selected_index(0);
filter_config.on_change = [this](size_t n, OptionsField::value_t v) {
(void)n;
min_color_power = v;
};
range_presets.on_change = [this](size_t n, OptionsField::value_t v)
{
(void)n;