sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4ae5fe896e96d082e21788ae6d42a67133567ba7 Author: Jim Raykowski <rayk...@gmail..com> AuthorDate: Sat Nov 9 16:07:09 2019 -0900 Commit: Xisco Faulí <xiscofa...@libreoffice.org> CommitDate: Mon Nov 11 11:04:56 2019 +0100 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í <xiscofa...@libreoffice.org> 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits