summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2018-12-14 18:29:41 +0100
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2018-12-15 23:40:52 +0100
commitc8a449f45c6d8d5223a721af74ff5888efffd8d7 (patch)
treecfd6e78f3932e9bb9f087ac683f13d799007621d /sfx2
parentd3e4c06ccb3aa4bb9078077a49dc2b2795835a5c (diff)
tdf#122112 Hide the menu bar when the notebookbar is locked
Only reproducible with GTK3 (maybe KDE5?). This way we ensure a uniformed behavior across vclplugins anyway Change-Id: I6edd6a426cb206d797b504ddcdcef999f79fa3c8 Reviewed-on: https://gerrit.libreoffice.org/65189 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> (cherry picked from commit 21b81b07b01e4482a80ced8dcdf48c480031c3c8) Reviewed-on: https://gerrit.libreoffice.org/65197
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index 5dcaea7861d8..1ff5a8cc7d83 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -188,11 +188,13 @@ void SfxNotebookBar::CloseMethod(SystemWindow* pSysWindow)
void SfxNotebookBar::LockNotebookBar()
{
m_bHide = true;
+ m_bLock = true;
}
void SfxNotebookBar::UnlockNotebookBar()
{
m_bHide = false;
+ m_bLock = false;
}
bool SfxNotebookBar::IsActive()