If no item is selected, select the first item.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33948 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fba4e002b1
commit
b6c92a3779
|
@ -262,6 +262,9 @@ AppearancePrefView::_MakeFontMenu(uint32 command,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (menu->FindMarked() == NULL)
|
||||||
|
menu->ItemAt(0)->SetMarked(true);
|
||||||
|
|
||||||
return menu;
|
return menu;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue