Compute the histogram with a new frame

This commit is contained in:
jfmcarreira committed 2014-05-13 04:12:57 +01:00
1 parent 851c2ffb13
commit 68ee327b25
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -554,7 +554,8 @@ void FramePropertiesSideBar::slotUpdateDataHistogram()
// If a selection area is done in Image Editor and if the current
// image is the same in Image Viewer, then compute too the histogram
// for this selection.
histogramWidget->updateData( m_pcFrame, NULL );
// New frame required to separate from the thread
histogramWidget->updateData( new PlaYUVerFrame(m_pcFrame), NULL );
fullImageButton->hide();
selectionImageButton->hide();
}