From c335e7ba246b842c036fd7a18e7d83ceb153b0ba Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Sat, 10 Oct 2020 11:56:13 -0700 Subject: [PATCH] Fix bug with vectorscope not updating The scope would not redraw after switching from one vectorscope to another. This commit sets the drawing area dirty when the scope type changes. --- rtgui/histogrampanel.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index 8946a5e35..63d299fa5 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -497,6 +497,8 @@ void HistogramPanel::type_selected(Gtk::RadioButton* button) if (histogramRGBArea) { updateHistRGBAreaOptions(); } + histogramArea->setDirty(true); + histogramArea->queue_draw(); } void HistogramPanel::type_changed()