diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index 68f0d91b6..93091733c 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -295,7 +295,9 @@ HistogramPanel::HistogramPanel () : type_changed(); updateHistAreaOptions(); - updateHistRGBAreaOptions(); + if (histogramRGBArea) { + updateHistRGBAreaOptions(); + } setExpandAlignProperties(showRed , false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER); setExpandAlignProperties(showGreen, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);