diff options
Diffstat (limited to 'sfx2/source/sidebar/UnoDeck.cxx')
-rw-r--r-- | sfx2/source/sidebar/UnoDeck.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/UnoDeck.cxx b/sfx2/source/sidebar/UnoDeck.cxx index f65b21573c94..094fa8a54261 100644 --- a/sfx2/source/sidebar/UnoDeck.cxx +++ b/sfx2/source/sidebar/UnoDeck.cxx @@ -71,6 +71,11 @@ void SAL_CALL SfxUnoDeck::setTitle( const OUString& newTitle ) DeckTitleBar* pTitleBar = pDeck->GetTitleBar(); pTitleBar->SetTitle(newTitle); + + // update the ResourceManager + pSidebarController->GetResourceManager()->SetDeckTitle(mDeckId, newTitle); + pSidebarController->notifyDeckTitle(mDeckId); + } sal_Bool SAL_CALL SfxUnoDeck::isActive() @@ -94,6 +99,9 @@ void SAL_CALL SfxUnoDeck::activate( const sal_Bool bActivate ) pSidebarController->SwitchToDeck(mDeckId); else pSidebarController->SwitchToDefaultDeck(); + + // update the sidebar + pSidebarController->NotifyResize(); } uno::Reference<ui::XPanels> SAL_CALL SfxUnoDeck::getPanels() @@ -123,6 +131,7 @@ void SAL_CALL SfxUnoDeck::setOrderIndex( const sal_Int32 newOrderIndex ) pSidebarController->GetResourceManager()->SetDeckOrderIndex(mDeckId, newOrderIndex); + // update the sidebar pSidebarController->NotifyResize(); } |