diff options
author | Sky <git@bunnies.cc> | 2013-11-27 16:56:15 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-11-27 16:56:15 +0000 |
commit | 7d7579d7f04f88013d7e4d064b2becec28cced61 (patch) | |
tree | 9f9181e08b1652a4a84c00ba140ad33462890f8b /gui/dialogs/AccountListDialog.cpp | |
parent | 7024e5a83e543a5e59e0c30ab72fe6ee5c5522f0 (diff) | |
download | MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.gz MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.lz MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.tar.xz MultiMC-7d7579d7f04f88013d7e4d064b2becec28cced61.zip |
Move "manage accounts" to right, use player skin when available
Diffstat (limited to 'gui/dialogs/AccountListDialog.cpp')
-rw-r--r-- | gui/dialogs/AccountListDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/dialogs/AccountListDialog.cpp b/gui/dialogs/AccountListDialog.cpp index c685c164..81b39e4c 100644 --- a/gui/dialogs/AccountListDialog.cpp +++ b/gui/dialogs/AccountListDialog.cpp @@ -56,6 +56,8 @@ void AccountListDialog::on_rmAccountBtn_clicked() { QModelIndex selected = selection.first(); m_accounts->removeAccount(selected); + + emit activeAccountChanged(); } } @@ -72,7 +74,9 @@ void AccountListDialog::on_setActiveBtn_clicked() QModelIndex selected = selection.first(); MojangAccountPtr account = selected.data(MojangAccountList::PointerRole).value<MojangAccountPtr>(); m_accounts->setActiveAccount(account->username()); - } + + emit activeAccountChanged(); + } } void AccountListDialog::on_closeBtnBox_rejected() |