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.
This commit is contained in:
zhupengfei 2018-07-24 12:19:47 +08:00
parent 87872aa369
commit 79a38f8782

View File

@ -289,4 +289,5 @@ void ConfigureInput::keyPressEvent(QKeyEvent* event) {
void ConfigureInput::retranslateUi() { void ConfigureInput::retranslateUi() {
ui->retranslateUi(this); ui->retranslateUi(this);
updateButtonLabels();
} }