[Libreoffice-commits] core.git: sfx2/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 11 10:05:42 UTC 2019


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

New commits:
commit 4ae5fe896e96d082e21788ae6d42a67133567ba7
Author:     Jim Raykowski <raykowj at gmail..com>
AuthorDate: Sat Nov 9 16:07:09 2019 -0900
Commit:     Xisco FaulĂ­ <xiscofauli at 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Ă­ <xiscofauli at 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,


More information about the Libreoffice-commits mailing list