From e2cd0d9ba59bbfaf37523e90f88454f65adeb5fb Mon Sep 17 00:00:00 2001 From: Sumit Chauhan Date: Thu, 20 Jun 2019 17:45:34 +0530 Subject: Seprator is positioned correctly in view->userInterface It is used differentiate between normal interfaces and notebookbar interfaces in view -> user interface. Change-Id: I691e7a767c1984dfa4bd7e064adf2f24e1381991 Reviewed-on: https://gerrit.libreoffice.org/74446 Tested-by: Jenkins Reviewed-by: andreas_kainz --- framework/source/uielement/toolbarmodemenucontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx index e94b89587077..9852adf70eee 100644 --- a/framework/source/uielement/toolbarmodemenucontroller.cxx +++ b/framework/source/uielement/toolbarmodemenucontroller.cxx @@ -141,7 +141,7 @@ void ToolbarModeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > // Allow Notebookbar only in experimental mode if ( isExperimental && !aMiscOptions.IsExperimentalMode() ) continue; - if ( !isExperimental ) + if(aLabel == "Sidebar" || aLabel == "Standard Toolbar" || aLabel == "Single Toolbar") nCountToolbar++; m_xPopupMenu->insertItem( nReadIndex+1, aLabel, css::awt::MenuItemStyle::RADIOCHECK, nPosition ); -- cgit