summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/AccountListDialog.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-11-27 16:56:15 +0000
committerSky <git@bunnies.cc>2013-11-27 16:56:15 +0000
commit7d7579d7f04f88013d7e4d064b2becec28cced61 (patch)
tree9f9181e08b1652a4a84c00ba140ad33462890f8b /gui/dialogs/AccountListDialog.cpp
parent7024e5a83e543a5e59e0c30ab72fe6ee5c5522f0 (diff)
downloadMultiMC-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.cpp6
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()