Disable modules checkbox when its is remove from the subwindow

This commit is contained in:
jfmcarreira committed 2014-04-17 15:29:03 +01:00
1 parent 56c8a27fd1
commit 104a6f9c5e
2 files changed
+3

No files matched your search

+1
View File
@@ -130,6 +130,7 @@ Void SubWindowHandle::disableModule()
if( !m_pcCurrentModule )
return;
m_pcCurrentModule->m_pcAction->setCheckable(false);
m_pcCurrentModule->destroy();
m_pcCurrentModule = NULL;
refreshFrame();
+2
View File
@@ -544,7 +544,9 @@ void plaYUVerApp::chageSubWindowSelection()
if( activeSubWindow() )
{
if( m_pcCurrentSubWindow )
{
m_pcCurrentSubWindow->disableModule();
}
// if( m_acPlayingSubWindows.size() < 2 )
// {
// playingTimer->stop();