sfx2/source/notebookbar/PriorityHBox.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 65b1f087eff4abfedbbf9137210011e699be4bfa Author: Szymon KÅos <szymon.k...@collabora.com> Date: Fri Oct 13 10:45:41 2017 +0200 Notebookbar: PriorityHBox working after reload Change-Id: Iba1802f386131b37b7972a7f022f85fdcdaab6fe Reviewed-on: https://gerrit.libreoffice.org/43363 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Szymon KÅos <szymon.k...@collabora.com> diff --git a/sfx2/source/notebookbar/PriorityHBox.cxx b/sfx2/source/notebookbar/PriorityHBox.cxx index be9c16062615..913ef12495fa 100644 --- a/sfx2/source/notebookbar/PriorityHBox.cxx +++ b/sfx2/source/notebookbar/PriorityHBox.cxx @@ -113,7 +113,8 @@ public: virtual void Resize() override { - SetSizeFromParent(); + if (!m_bInitialized && SfxViewFrame::Current()) + Initialize(); if (!m_bInitialized) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits