aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar LittleWhite <lw.demoscene@googlemail.com>2015-07-26 16:38:51 +0200
committerGravatar LittleWhite <lw.demoscene@googlemail.com>2015-07-28 21:04:14 +0200
commit5e1c32048f797be66000852e5f1cb1f0febbcb27 (patch)
treef2a5e95e2a41c9bb0e5ebfeb29caf13740eed415
parentce2dd86f8f61f2c0cf8bee5797da3b8e62d9828e (diff)
Update Start menu text to match with the real state of the emulator.
Move start menu text update in ShutdownGame as adviced by neobrain
-rw-r--r--src/citra_qt/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 2746de77..34831f2e 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -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);
}