[Libreoffice-commits] core.git: sfx2/source
Akshay Deep
akshaydeepiitr at gmail.com
Fri Jun 17 10:49:10 UTC 2016
sfx2/source/control/recentdocsview.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 27bd030aa033565dfdff56c298c797c80cee5160
Author: Akshay Deep <akshaydeepiitr at gmail.com>
Date: Fri Jun 17 09:39:01 2016 +0530
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 at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index 1d6e0c1..abfc888 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -233,8 +233,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)
More information about the Libreoffice-commits
mailing list