aboutsummaryrefslogtreecommitdiff
path: root/gui/dialogs/AccountListDialog.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-11-28 14:50:12 -0600
committerAndrew <forkk@forkk.net>2013-11-28 14:50:12 -0600
commita914e8bd2465302067dad949747d0557b3fcd0ae (patch)
treef57e44d507ba26cd699bf26bfc0eced26ac5e380 /gui/dialogs/AccountListDialog.cpp
parentfec8c054c3967d9ed4bbf288b9c4993b8aaeac1d (diff)
parent191e850cf14666302c3338d69073d1f417925a45 (diff)
downloadPrismLauncher-a914e8bd2465302067dad949747d0557b3fcd0ae.tar.gz
PrismLauncher-a914e8bd2465302067dad949747d0557b3fcd0ae.tar.bz2
PrismLauncher-a914e8bd2465302067dad949747d0557b3fcd0ae.zip
Merge branch 'develop' of https://github.com/Drayshak/MultiMC5 into feature_yggdrasil
Diffstat (limited to 'gui/dialogs/AccountListDialog.cpp')
-rw-r--r--gui/dialogs/AccountListDialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/dialogs/AccountListDialog.cpp b/gui/dialogs/AccountListDialog.cpp
index 5feed13d..29f3838d 100644
--- a/gui/dialogs/AccountListDialog.cpp
+++ b/gui/dialogs/AccountListDialog.cpp
@@ -92,6 +92,8 @@ void AccountListDialog::on_setDefaultBtn_clicked()
void AccountListDialog::on_noDefaultBtn_clicked()
{
m_accounts->setActiveAccount("");
+
+ emit activeAccountChanged();
}
void AccountListDialog::on_closeBtnBox_rejected()
@@ -138,6 +140,9 @@ void AccountListDialog::onLoginComplete()
// Add the authenticated account to the accounts list.
MojangAccountPtr account = m_authTask->getMojangAccount();
m_accounts->addAccount(account);
+
+ emit activeAccountChanged();
+
//ui->listView->update();
// Grab associated player skins