sfx2/source/dialog/backingwindow.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f7e781292fc97b1d5e845c219c59bd01833da5ee
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Wed May 21 14:29:02 2025 +0200
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Thu May 22 09:59:27 2025 +0200

    tdf#166349 - Reload recent documents to show pinned items
    
    After clearing the recent document list, reload the start center in order 
to show pinned items.
    
    Change-Id: I248d28aaf8f4f9a823aab7630e37e8a410848433
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185608
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>

diff --git a/sfx2/source/dialog/backingwindow.cxx 
b/sfx2/source/dialog/backingwindow.cxx
index f11c184bc81c..62898e35f08e 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -807,5 +807,7 @@ void BackingWindow::dispatchURL( const OUString& i_rURL,
 void BackingWindow::clearRecentFileList()
 {
     mxAllRecentThumbnails->Clear();
+    // tdf#166349 - reload recent documents to show pinned items
+    mxAllRecentThumbnails->Reload();
 }
 /* vim:set shiftwidth=4 softtabstop=4 expandtab:*/

Reply via email to