Fix wrong check (#7385).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41061 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -629,7 +629,7 @@ TPrefsWindow::_BuildAccountMenu(int32 account)
|
||||
|
||||
//menu->SetRadioMode(true);
|
||||
BMailAccounts accounts;
|
||||
if (accounts.CountAccounts()) {
|
||||
if (accounts.CountAccounts() == 0) {
|
||||
menu->AddItem(item = new BMenuItem("<no account found>", NULL));
|
||||
item->SetEnabled(false);
|
||||
return menu;
|
||||
|
||||
Reference in New Issue
Block a user