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);
|
toolsMenu->addAction(act);
|
||||||
|
|
||||||
// Tools -> TAS Editor
|
// 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->setShortcut( QKeySequence(tr("Shift+F7")));
|
||||||
act->setStatusTip(tr("Open TAS Editor Window"));
|
act->setStatusTip(tr("Open TAS Editor Window"));
|
||||||
connect(act, SIGNAL(triggered()), this, SLOT(openTasEditor(void)) );
|
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() );
|
recWavAct->setEnabled( FCEU_IsValidUI( FCEUI_RECORDMOVIE ) && !FCEUI_WaveRecordRunning() );
|
||||||
recAsWavAct->setEnabled( FCEU_IsValidUI( FCEUI_RECORDMOVIE ) && !FCEUI_WaveRecordRunning() );
|
recAsWavAct->setEnabled( FCEU_IsValidUI( FCEUI_RECORDMOVIE ) && !FCEUI_WaveRecordRunning() );
|
||||||
stopWavAct->setEnabled( FCEUI_WaveRecordRunning() );
|
stopWavAct->setEnabled( FCEUI_WaveRecordRunning() );
|
||||||
|
tasEditorAct->setEnabled( FCEU_IsValidUI(FCEUI_TASEDITOR) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( errorMsgValid )
|
if ( errorMsgValid )
|
||||||
|
|
|
@ -253,6 +253,7 @@ class consoleWin_t : public QMainWindow
|
||||||
QAction *recWavAct;
|
QAction *recWavAct;
|
||||||
QAction *recAsWavAct;
|
QAction *recAsWavAct;
|
||||||
QAction *stopWavAct;
|
QAction *stopWavAct;
|
||||||
|
QAction *tasEditorAct;
|
||||||
//QAction *aviHudAct;
|
//QAction *aviHudAct;
|
||||||
//QAction *aviMsgAct;
|
//QAction *aviMsgAct;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue