diff --git a/source/app/PropertiesSidebar.cpp b/source/app/PropertiesSidebar.cpp index cb269bf..428cffa 100755 --- a/source/app/PropertiesSidebar.cpp +++ b/source/app/PropertiesSidebar.cpp @@ -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(); } diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index 26e4891..dec355e 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -230,6 +230,7 @@ void plaYUVerApp::closeAll() void plaYUVerApp::selectModule( QAction *curr_action ) { + m_pcFrameProperties->stopHistogram(); SubWindowHandle *interfaceChild = m_pcModulesHandle->toggleSelectedModuleIf(); if( interfaceChild ) {