summaryrefslogtreecommitdiff
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 11:23:17 +0100
commit21b81b07b01e4482a80ced8dcdf48c480031c3c8 (patch)
tree3783ddc7c5f84d173cc6fb2dfa17efe647689a50
parentbaa3c7389ec3f570be0486b3647ab424c7835ee1 (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>
-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()