From 879cc1e574e963d182b65fb7989b004f0bf84aeb Mon Sep 17 00:00:00 2001 From: Hartwig Wiesmann Date: Thu, 7 Sep 2023 23:23:14 +0200 Subject: [PATCH] Fix file history items formatting when loading them from config Add DoRefreshLabels() to wxFileHistoryBase::Load() to ensure that the paths are formatted correctly. Closes #23799. See #23857. --- src/common/filehistorycmn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/filehistorycmn.cpp b/src/common/filehistorycmn.cpp index 0c0070c938..0c93e71814 100644 --- a/src/common/filehistorycmn.cpp +++ b/src/common/filehistorycmn.cpp @@ -271,6 +271,7 @@ void wxFileHistoryBase::Load(const wxConfigBase& config) } AddFilesToMenu(); + DoRefreshLabels(); } void wxFileHistoryBase::Save(wxConfigBase& config)