diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-23 14:37:16 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-24 05:27:24 +0200 |
commit | 3156948d813f94c00ac87f80c5850f9f67b42318 (patch) | |
tree | ce900e68baa32c222010a84a743c219a9275fc01 /sfx2/source/sidebar/TabBar.cxx | |
parent | 7c2697eb1c645c6a8ad362002e9212446a458a9d (diff) |
Sidebar: Remove hightlight from TabBar after Deck close
After clicking on "Close Sidebar Deck" the highlighted icon
will now lose its highlight.
Change-Id: Iee947641343d46c84af7afb93cd52101e39149f7
Diffstat (limited to 'sfx2/source/sidebar/TabBar.cxx')
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 29b377fdccc8..8587bcb52baa 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -251,6 +251,19 @@ void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId) +void TabBar::RemoveDeckHighlight () +{ + for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end()); + iItem!=iEnd; + ++iItem) + { + iItem->mpButton->Check(false); + } +} + + + + void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent) { SetBackground(Theme::GetPaint(Theme::Paint_TabBarBackground).GetWallpaper()); |