mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 09:07:41 +02:00
Bug 616 - First ampersand in file name removed from File > Recent Files and import dialogues
This commit is contained in:
parent
de53f64757
commit
d5a2e3af2e
@ -171,7 +171,9 @@ void FileHistory::AddFilesToMenu(wxMenu *menu)
|
|||||||
menu->Destroy(*iter++);
|
menu->Destroy(*iter++);
|
||||||
|
|
||||||
for (size_t i = 0; i < mHistory.GetCount(); i++) {
|
for (size_t i = 0; i < mHistory.GetCount(); i++) {
|
||||||
menu->Append(mIDBase + 1 + i, mHistory[i]);
|
wxString item = mHistory[i];
|
||||||
|
item.Replace( "&", "&&" );
|
||||||
|
menu->Append(mIDBase + 1 + i,item);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mHistory.GetCount() > 0) {
|
if (mHistory.GetCount() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user