Tas editor dialog menu action sensitivity fix for Qt GUI.
This commit is contained in:
parent
27fb529830
commit
9360f7e1a8
|
@ -1609,7 +1609,7 @@ void consoleWin_t::createMainMenu(void)
|
|||
toolsMenu->addAction(act);
|
||||
|
||||
// Tools -> TAS Editor
|
||||
act = new QAction(tr("&TAS Editor ..."), this);
|
||||
tasEditorAct = act = new QAction(tr("&TAS Editor ..."), this);
|
||||
//act->setShortcut( QKeySequence(tr("Shift+F7")));
|
||||
act->setStatusTip(tr("Open TAS Editor Window"));
|
||||
connect(act, SIGNAL(triggered()), this, SLOT(openTasEditor(void)) );
|
||||
|
@ -4278,6 +4278,7 @@ void consoleWin_t::updatePeriodic(void)
|
|||
recWavAct->setEnabled( FCEU_IsValidUI( FCEUI_RECORDMOVIE ) && !FCEUI_WaveRecordRunning() );
|
||||
recAsWavAct->setEnabled( FCEU_IsValidUI( FCEUI_RECORDMOVIE ) && !FCEUI_WaveRecordRunning() );
|
||||
stopWavAct->setEnabled( FCEUI_WaveRecordRunning() );
|
||||
tasEditorAct->setEnabled( FCEU_IsValidUI(FCEUI_TASEDITOR) );
|
||||
}
|
||||
|
||||
if ( errorMsgValid )
|
||||
|
|
|
@ -253,6 +253,7 @@ class consoleWin_t : public QMainWindow
|
|||
QAction *recWavAct;
|
||||
QAction *recAsWavAct;
|
||||
QAction *stopWavAct;
|
||||
QAction *tasEditorAct;
|
||||
//QAction *aviHudAct;
|
||||
//QAction *aviMsgAct;
|
||||
|
||||
|
|
Loading…
Reference in New Issue