diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-13 10:32:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-13 10:32:52 +0200 |
commit | f4bb89ce7397ec51c4af64fa70ec439befd4d38f (patch) | |
tree | 595302ae4e7e6d5cd952e665e8ce09422056a7c3 | |
parent | Merge pull request #2059 from MerryMage/tweak-audio-latency (diff) | |
parent | Qt: fix birthday combo box updating (diff) | |
download | yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar.gz yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar.bz2 yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar.lz yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar.xz yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.tar.zst yuzu-f4bb89ce7397ec51c4af64fa70ec439befd4d38f.zip |
-rw-r--r-- | src/citra_qt/configure_system.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/citra_qt/configure_system.cpp b/src/citra_qt/configure_system.cpp index 55d964242..5c5d83ff3 100644 --- a/src/citra_qt/configure_system.cpp +++ b/src/citra_qt/configure_system.cpp @@ -18,9 +18,9 @@ ConfigureSystem::ConfigureSystem(QWidget *parent) : QWidget(parent), ui(new Ui::ConfigureSystem) { ui->setupUi(this); - this->setConfiguration(); - connect(ui->combo_birthmonth, SIGNAL(currentIndexChanged(int)), SLOT(updateBirthdayComboBox(int))); + + this->setConfiguration(); } ConfigureSystem::~ConfigureSystem() { @@ -60,6 +60,7 @@ void ConfigureSystem::ReadSystemSettings() { // set birthday std::tie(birthmonth, birthday) = Service::CFG::GetBirthday(); ui->combo_birthmonth->setCurrentIndex(birthmonth - 1); + updateBirthdayComboBox(birthmonth - 1); // explicitly update it because the signal from setCurrentIndex is not reliable ui->combo_birthday->setCurrentIndex(birthday - 1); // set system language |