Disable actions buttons when no sequencia is loaded.
This commit is contained in:
1 parent
5d540fe1b8
commit
c314c301d2
1 file changed
+11
-1
+11
-1
@@ -36,6 +36,7 @@
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
|
||||
plaYUVerApp::plaYUVerApp()
|
||||
{
|
||||
|
||||
@@ -220,6 +221,16 @@ void plaYUVerApp::updateMenus()
|
||||
previousAct->setEnabled( hasImageInterface );
|
||||
separatorAct->setVisible( hasImageInterface );
|
||||
|
||||
zoomInAct->setEnabled( hasImageInterface );
|
||||
zoomOutAct->setEnabled( hasImageInterface );
|
||||
normalSizeAct->setEnabled( hasImageInterface );
|
||||
zoomToFitAct->setEnabled( hasImageInterface );
|
||||
|
||||
actionVideoPlay->setEnabled( hasImageInterface );
|
||||
actionVideoPause->setEnabled( hasImageInterface );
|
||||
actionVideoStop->setEnabled( hasImageInterface );
|
||||
actionVideoBackward->setEnabled( hasImageInterface );
|
||||
actionVideoForward->setEnabled( hasImageInterface );
|
||||
}
|
||||
|
||||
void plaYUVerApp::updateWindowMenu()
|
||||
@@ -447,7 +458,6 @@ Void plaYUVerApp::createToolBars()
|
||||
videoToolBar->addAction( actionVideoLock );
|
||||
videoToolBar->addAction( actionVideoInterlace );
|
||||
videoToolBar->addAction( actionVideoCenter );
|
||||
|
||||
}
|
||||
|
||||
Void plaYUVerApp::createStatusBar()
|
||||
|
||||
Reference in new issue
Block a user