diff --git a/source/app/SubWindowHandle.cpp b/source/app/SubWindowHandle.cpp index 5adec30..e51fefa 100644 --- a/source/app/SubWindowHandle.cpp +++ b/source/app/SubWindowHandle.cpp @@ -130,6 +130,7 @@ Void SubWindowHandle::disableModule() if( !m_pcCurrentModule ) return; + m_pcCurrentModule->m_pcAction->setCheckable(false); m_pcCurrentModule->destroy(); m_pcCurrentModule = NULL; refreshFrame(); diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index eadd956..ec82c49 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -544,7 +544,9 @@ void plaYUVerApp::chageSubWindowSelection() if( activeSubWindow() ) { if( m_pcCurrentSubWindow ) + { m_pcCurrentSubWindow->disableModule(); + } // if( m_acPlayingSubWindows.size() < 2 ) // { // playingTimer->stop();