mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-02 03:00:23 +03:00
Damn, forgot to stage the latest changes.
This commit is contained in:
@@ -245,7 +245,8 @@ void SettingsMenu::createSettingsMenu( App* app, UIMenuBar* menuBar ) {
|
|||||||
const auto onMenuShowEvent = [this, menuHint]( UIPopUpMenu* menu, UIWidget* menuButton,
|
const auto onMenuShowEvent = [this, menuHint]( UIPopUpMenu* menu, UIWidget* menuButton,
|
||||||
Uint32 menuBarIndex ) {
|
Uint32 menuBarIndex ) {
|
||||||
menu->on( Event::OnMenuShow, [this, menuButton, menuBarIndex, menu, menuHint]( auto ) {
|
menu->on( Event::OnMenuShow, [this, menuButton, menuBarIndex, menu, menuHint]( auto ) {
|
||||||
if ( menuBarIndex == 0 && !mApp->isAnyStatusBarSectionVisible() )
|
if ( menuBarIndex == 0 && !mMenuBar->isGlobalMenuBarEnabled() &&
|
||||||
|
!mApp->isAnyStatusBarSectionVisible() )
|
||||||
menuHint->setVisible( true );
|
menuHint->setVisible( true );
|
||||||
menu->setOwnerNode( mApp->getConfig().ui.showMenuBar
|
menu->setOwnerNode( mApp->getConfig().ui.showMenuBar
|
||||||
? mMenuBar->getButton( menuBarIndex )->asType<UIWidget>()
|
? mMenuBar->getButton( menuBarIndex )->asType<UIWidget>()
|
||||||
|
|||||||
Reference in New Issue
Block a user