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.
This commit is contained in:
Hartwig Wiesmann 2023-09-07 23:23:14 +02:00 committed by Vadim Zeitlin
parent 3861ad6b6d
commit 879cc1e574

View file

@ -271,6 +271,7 @@ void wxFileHistoryBase::Load(const wxConfigBase& config)
}
AddFilesToMenu();
DoRefreshLabels();
}
void wxFileHistoryBase::Save(wxConfigBase& config)