sfx2/source/notebookbar/SfxNotebookBar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 69310348a6d65a49b406ec5ac2062ad5659bfcf4
Author:     Jim Raykowski <rayk...@gmail..com>
AuthorDate: Sat Nov 9 16:07:09 2019 -0900
Commit:     Xisco FaulĂ­ <xiscofa...@libreoffice.org>
CommitDate: Wed Nov 27 12:54:44 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>
    (cherry picked from commit 4ae5fe896e96d082e21788ae6d42a67133567ba7)
    Reviewed-on: https://gerrit.libreoffice.org/83878

diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx 
b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index 402874ccb4ef..59eca1bc7e4e 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -289,7 +289,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

Reply via email to