summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorSumit Chauhan <sumitcn25@gmail.com>2019-06-20 17:45:34 +0530
committerandreas_kainz <kainz.a@gmail.com>2019-06-23 18:54:37 +0200
commite2cd0d9ba59bbfaf37523e90f88454f65adeb5fb (patch)
tree81fa5e57d59f36b82e5b9a1ec609688c320b6c41 /framework/source
parent958e304490a23ef4964270ffa7a2ed0e76e39a0c (diff)
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 <kainz.a@gmail.com>
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/uielement/toolbarmodemenucontroller.cxx2
1 files changed, 1 insertions, 1 deletions
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 );