Tracker: NavMenu and MountMenu should not set font themselves (inherit from BMenu instead)
Change-Id: Ie04908ebb1c05bd2abe19e8574bae0fa1cf47e1a Reviewed-on: https://review.haiku-os.org/c/haiku/+/5990 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
f65d24dfd9
commit
183b85ddf8
@ -166,7 +166,6 @@ AddMenuItemVisitor::Visit(BPartition* partition, int32 level)
|
||||
MountMenu::MountMenu(const char* name)
|
||||
: BMenu(name)
|
||||
{
|
||||
SetFont(be_plain_font);
|
||||
}
|
||||
|
||||
|
||||
|
@ -279,8 +279,6 @@ BNavMenu::BNavMenu(const char* title, uint32 message, const BHandler* target,
|
||||
|
||||
InitIconPreloader();
|
||||
|
||||
SetFont(be_plain_font);
|
||||
|
||||
// add the parent window to the invocation message so that it
|
||||
// can be closed if option modifier held down during invocation
|
||||
BContainerWindow* originatingWindow =
|
||||
@ -314,8 +312,6 @@ BNavMenu::BNavMenu(const char* title, uint32 message,
|
||||
|
||||
InitIconPreloader();
|
||||
|
||||
SetFont(be_plain_font);
|
||||
|
||||
// add the parent window to the invocation message so that it
|
||||
// can be closed if option modifier held down during invocation
|
||||
BContainerWindow* originatingWindow =
|
||||
|
Loading…
Reference in New Issue
Block a user