Linux (gtk): Actually change filter when loading options.
This commit is contained in:
parent
84460eeb5a
commit
5c3c1f14d9
|
@ -3004,6 +3004,7 @@ common_gtk_main( class configured_features *my_config)
|
||||||
if (config.view_filter < VideoFilterTypeID_None || config.view_filter >= VideoFilterTypeIDCount) {
|
if (config.view_filter < VideoFilterTypeID_None || config.view_filter >= VideoFilterTypeIDCount) {
|
||||||
config.view_filter = VideoFilterTypeID_None;
|
config.view_filter = VideoFilterTypeID_None;
|
||||||
}
|
}
|
||||||
|
video->ChangeFilterByID((VideoFilterTypeID)config.view_filter.get());
|
||||||
gtk_action_group_add_radio_actions(action_group, pri_interpolation_entries, G_N_ELEMENTS(pri_interpolation_entries),
|
gtk_action_group_add_radio_actions(action_group, pri_interpolation_entries, G_N_ELEMENTS(pri_interpolation_entries),
|
||||||
config.view_filter, G_CALLBACK(Modify_PriInterpolation), NULL);
|
config.view_filter, G_CALLBACK(Modify_PriInterpolation), NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue