Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Update Start menu text to match with the real state of the emulator. Move start menu text update in ShutdownGame as adviced by neobrain

LittleWhite5e1c32048f79
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 2746de779b..34831f2ecd 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);
}