From 417cfdba917b0660b7a42269b266f6a2089a9249 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 11 Jul 2014 22:37:24 +0100 Subject: [PATCH] Minor bug fix: disable buttons when no sequences are opened --- source/app/ModulesHandle.cpp | 1 + source/app/plaYUVerApp.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/source/app/ModulesHandle.cpp b/source/app/ModulesHandle.cpp index 47c1ddd..4e7bfdf 100644 --- a/source/app/ModulesHandle.cpp +++ b/source/app/ModulesHandle.cpp @@ -419,6 +419,7 @@ Void ModulesHandle::updateMenus( Bool hasSubWindow ) currModuleAction = m_arrayModulesActions.at( i ); currModuleAction->setEnabled( hasSubWindow ); } + m_arrayActions[APPLY_ALL_ACT]->setEnabled( hasSubWindow ); m_arrayActions[SWAP_FRAMES_ACT]->setEnabled( hasSubWindow ); } diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index 10c6d1b..76cdb70 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -932,6 +932,7 @@ Void plaYUVerApp::updateMenus() m_arrayActions[VIDEO_FORWARD_ACT]->setEnabled( hasSubWindow ); m_arrayActions[VIDEO_LOOP_ACT]->setEnabled( hasSubWindow ); m_arrayActions[VIDEO_LOCK_ACT]->setEnabled( hasSubWindow ); + m_arrayActions[VIDEO_LOCK_SELECTION_ACT]->setEnabled( hasSubWindow ); m_pcFrameSlider->setEnabled( hasSubWindow ); if( !hasSubWindow ) {