Incorrect font applied in Add-on submenu
When accessing the Tracker Add-on menu from ContainerWindow's top menu, the font in Add-Ons submenu would change from its parent menu.
This commit is contained in:
parent
ee87fbc421
commit
ffc3c6172b
@ -3051,11 +3051,14 @@ BContainerWindow::BuildAddOnMenu(BMenu* menu)
|
||||
if (item == NULL)
|
||||
return;
|
||||
|
||||
BFont font;
|
||||
menu->GetFont(&font);
|
||||
|
||||
menu = item->Submenu();
|
||||
if (menu == NULL)
|
||||
return;
|
||||
|
||||
menu->SetFont(be_plain_font);
|
||||
menu->SetFont(&font);
|
||||
|
||||
// found the addons menu, empty it first
|
||||
for (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user