DolphinQt: Don't leave Export Recording disabled always

This commit is contained in:
JosJuice 2019-06-08 08:39:12 +02:00
parent e73a3ba1c6
commit 7fcc3dd605
1 changed files with 4 additions and 0 deletions

View File

@ -110,7 +110,10 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
// Movie // Movie
m_recording_read_only->setEnabled(running); m_recording_read_only->setEnabled(running);
if (!running) if (!running)
{
m_recording_stop->setEnabled(false); m_recording_stop->setEnabled(false);
m_recording_export->setEnabled(false);
}
m_recording_play->setEnabled(!running); m_recording_play->setEnabled(!running);
// Options // Options
@ -1109,6 +1112,7 @@ void MenuBar::OnRecordingStatusChanged(bool recording)
{ {
m_recording_start->setEnabled(!recording); m_recording_start->setEnabled(!recording);
m_recording_stop->setEnabled(recording); m_recording_stop->setEnabled(recording);
m_recording_export->setEnabled(recording);
} }
void MenuBar::OnReadOnlyModeChanged(bool read_only) void MenuBar::OnReadOnlyModeChanged(bool read_only)