Automatically select the main item for a newly-created account

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19680 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2007-01-02 20:16:21 +00:00
parent 22abf79105
commit 5fb9e9cec7
+3
View File
@@ -650,6 +650,9 @@ void Accounts::NewAccount()
Account *account = new Account();
gAccounts.AddItem(account);
account->AddToListView();
if (gListView)
gListView->Select(gListView->IndexOf(account->fAccountItem));
}