mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
FileDialog shouldn't return duplicate names.
This commit is contained in:
@@ -661,6 +661,9 @@ int FileDialog::ShowModal()
|
||||
|
||||
void FileDialog::ModalFinishedCallback(void* panel, int returnCode)
|
||||
{
|
||||
m_paths.Clear();
|
||||
m_fileNames.Clear();
|
||||
|
||||
int result = wxID_CANCEL;
|
||||
if (HasFlag(wxFD_SAVE))
|
||||
{
|
||||
|
Reference in New Issue
Block a user