Use function ModulesHandle::applyModuleIf to apply modules

This commit is contained in:
jfmcarreira committed 2014-05-13 04:35:04 +01:00
1 parent 68ee327b25
commit e2cf98d4cd
5 files changed
+13 -25

No files matched your search

+1 -1
View File
@@ -549,7 +549,7 @@ Void FramePropertiesSideBar::stopHistogram()
void FramePropertiesSideBar::slotUpdateDataHistogram()
{
if( m_pcFrame && isVisible() )
if( m_pcFrame->isValid() && isVisible() )
{
// 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