diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-17 09:39:01 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-17 14:02:38 +0000 |
commit | a503fb0df9960bb1a76a7a35273d740d0ea31f32 (patch) | |
tree | 68a69cddf7eab81931b305a7c964769afc6ad315 | |
parent | f7ad46993279d1da56980fc100b3961e5e349400 (diff) |
tdf#79198 START CENTER: Close button doesn't reappear after being clicked
Change-Id: I23e3aed71eec85e8b8f0aceac125809fd56be4d5
Reviewed-on: https://gerrit.libreoffice.org/26399
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 27bd030aa033565dfdff56c298c797c80cee5160)
Reviewed-on: https://gerrit.libreoffice.org/26416
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index 74e3a7f26000..15c2400fa4e4 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -232,8 +232,14 @@ void RecentDocsView::MouseButtonUp(const MouseEvent& rMEvt) ThumbnailViewItem* pItem = ImplGetItem(nPos); if (pItem && nPos == mnLastMouseDownItem) + { pItem->MouseButtonUp(rMEvt); + ThumbnailViewItem* pNewItem = ImplGetItem(nPos); + if(pNewItem) + pNewItem->setHighlight(true); + } + mnLastMouseDownItem = THUMBNAILVIEW_ITEM_NOTFOUND; if (pItem) |