Commit 1746c311 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set the active item of the combo-box after changing the visibility filter.

2004-07-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.c
	(gimp_histogram_editor_menu_update): set the active item of the
	combo-box after changing the visibility filter.
parent c8d9457f
2004-07-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimphistogrameditor.c
(gimp_histogram_editor_menu_update): set the active item of the
combo-box after changing the visibility filter.
2004-07-08 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppropwidgets.c (gimp_prop_boolean_combo_box_notify):
......
......@@ -442,9 +442,15 @@ gimp_histogram_editor_item_visible (GtkTreeModel *model,
static void
gimp_histogram_editor_menu_update (GimpHistogramEditor *editor)
{
GtkTreeModel *model = gtk_combo_box_get_model (GTK_COMBO_BOX (editor->menu));
GimpHistogramView *view = GIMP_HISTOGRAM_BOX (editor->box)->view;
GtkTreeModel *model;
model = gtk_combo_box_get_model (GTK_COMBO_BOX (editor->menu));
gtk_tree_model_filter_refilter (GTK_TREE_MODEL_FILTER (model));
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (editor->menu),
gimp_histogram_view_get_channel (view));
}
static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment