Fix RGB bars not showing for waveform

The bars were not showing if the raw histogram button was activated.
This commit is contained in:
Lawrence Lee 2020-08-05 12:05:58 -07:00
parent 9382306fed
commit 9a89eb5454

View File

@ -617,7 +617,7 @@ void HistogramRGBArea::setShow(bool show)
void HistogramRGBArea::updateBackBuffer (int r, int g, int b, const Glib::ustring &profile, const Glib::ustring &profileW)
{
if (!get_realized () || !showMode || rawMode) {
if (!get_realized () || !showMode || (rawMode && options.histogramScopeType != 1)) {
return;
}