diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-10-13 10:45:41 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2017-10-13 15:10:18 +0200 |
commit | 65b1f087eff4abfedbbf9137210011e699be4bfa (patch) | |
tree | 365601a419f1349527e682c5f397d1cbddf724c8 /sfx2 | |
parent | 3933ac6828f74529c5bde6b11279cfdd69db60c6 (diff) |
Notebookbar: PriorityHBox working after reload
Change-Id: Iba1802f386131b37b7972a7f022f85fdcdaab6fe
Reviewed-on: https://gerrit.libreoffice.org/43363
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/PriorityHBox.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |