summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-11-09 16:07:09 -0900
committerXisco Faulí <xiscofauli@libreoffice.org>2019-11-11 11:04:56 +0100
commit4ae5fe896e96d082e21788ae6d42a67133567ba7 (patch)
tree1d1c0f02b5fc51a684402c5ae92c3cf039452ebe /sfx2
parent938a4d6624a78f3e272b3c4c07f314cb0c6db723 (diff)
tdf#118526 Reload Notebookbar if read mode has switched
Change-Id: I8d6edd57566c66165690808e853a74777bc8e14a Reviewed-on: https://gerrit.libreoffice.org/82371 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index 9c7972d46783..538886f202a1 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -332,7 +332,7 @@ bool SfxNotebookBar::StateMethod(SfxBindings& rBindings, const OUString& rUIFile
{
SfxFrame& rFrame = rBindings.GetDispatcher_Impl()->GetFrame()->GetFrame();
return StateMethod(rFrame.GetSystemWindow(), rFrame.GetFrameInterface(), rUIFile,
- bReloadNotebookbar);
+ bReloadNotebookbar || rBindings.GetDispatcher_Impl()->IsUpdated_Impl());
}
bool SfxNotebookBar::StateMethod(SystemWindow* pSysWindow,