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:
@@ -650,6 +650,9 @@ void Accounts::NewAccount()
|
|||||||
Account *account = new Account();
|
Account *account = new Account();
|
||||||
gAccounts.AddItem(account);
|
gAccounts.AddItem(account);
|
||||||
account->AddToListView();
|
account->AddToListView();
|
||||||
|
|
||||||
|
if (gListView)
|
||||||
|
gListView->Select(gListView->IndexOf(account->fAccountItem));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user