diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-07 10:24:10 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-07 10:24:26 +0100 |
commit | 3952988da628d87e884168d23a352e4b151bf5ea (patch) | |
tree | 3820fddb223c527f6831fbde468f2494caacc64c /sfx2/source/control/recentdocsview.cxx | |
parent | 6235a7261b7a763cbce4e3b2ffd93921008acb02 (diff) |
Fix deselection problems of template view
deselectItems() were added to make recent docs
view work, but it is unneccessary to
affect template view too.
Change-Id: I0c805774321939991e308e9c8c669604e81dbad5
Diffstat (limited to 'sfx2/source/control/recentdocsview.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index a97c7e7abc9c..e68332383c81 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -321,6 +321,13 @@ void RecentDocsView::Paint( const Rectangle &aRect ) ThumbnailView::Paint(aRect); } +void RecentDocsView::LoseFocus() +{ + deselectItems(); + + ThumbnailView::LoseFocus(); +} + long RecentDocsView::GetThumbnailSize() const { return mnItemMaxSize; |