From 79a38f878292d30dc5193e45a3154ce5d7f43d39 Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Tue, 24 Jul 2018 12:19:47 +0800 Subject: [PATCH] citra_qt/configuration: fix input configuration disappearing after changing languages Previously, once you change language, the texts in the buttons in the Input tab will disappear. It is because the default text in the buttons are empty, and we did not update the text after translations are reloaded, aka texts are reset. This commit fixed the issue. --- src/citra_qt/configuration/configure_input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citra_qt/configuration/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp index 1428a7719..bd3d664c1 100644 --- a/src/citra_qt/configuration/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -289,4 +289,5 @@ void ConfigureInput::keyPressEvent(QKeyEvent* event) { void ConfigureInput::retranslateUi() { ui->retranslateUi(this); + updateButtonLabels(); }