Prevent null pointer access
Thanks to Ingo for fixing the segfault.
This commit is contained in:
@@ -364,7 +364,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
|
||||
}
|
||||
|
||||
imgsrc->getRAWHistogram(histRedRaw, histGreenRaw, histBlueRaw);
|
||||
hist_raw_dirty = !hListener->updateHistogramRaw();
|
||||
hist_raw_dirty = !(hListener && hListener->updateHistogramRaw());
|
||||
|
||||
highDetailPreprocessComputed = highDetailNeeded;
|
||||
|
||||
|
Reference in New Issue
Block a user