mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-25 10:53:17 +00:00
Merge pull request #998 from LittleWhite-tb/qt-continue-menu
Update Start menu text to match with the real state of the emulator.
This commit is contained in:
commit
429b9de9a2
|
@ -263,6 +263,7 @@ void GMainWindow::ShutdownGame() {
|
|||
|
||||
// Update the GUI
|
||||
ui.action_Start->setEnabled(false);
|
||||
ui.action_Start->setText(tr("Start"));
|
||||
ui.action_Pause->setEnabled(false);
|
||||
ui.action_Stop->setEnabled(false);
|
||||
render_window->hide();
|
||||
|
@ -291,6 +292,8 @@ void GMainWindow::OnStartGame()
|
|||
emu_thread->SetRunning(true);
|
||||
|
||||
ui.action_Start->setEnabled(false);
|
||||
ui.action_Start->setText(tr("Continue"));
|
||||
|
||||
ui.action_Pause->setEnabled(true);
|
||||
ui.action_Stop->setEnabled(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue