From eafa20a7e9869f8516fd3f003ab6c13fcb4bc14e Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 4 Nov 2014 00:41:26 +0000 Subject: [PATCH] Show a message in status bar when module is not applied --- source/app/ModulesHandle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/app/ModulesHandle.cpp b/source/app/ModulesHandle.cpp index 592d9e1..4ced82b 100644 --- a/source/app/ModulesHandle.cpp +++ b/source/app/ModulesHandle.cpp @@ -147,6 +147,7 @@ SubWindowHandle* ModulesHandle::enableModuleIf( PlaYUVerModuleIf *pcCurrModuleIf if( subWindowList.size() == 0 ) { pcCurrModuleIf->m_pcAction->setChecked( false ); + m_pcParent->statusBar()->showMessage( "Error! Module cannot be applied", 2000 ); return interfaceChild; }