mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Replace extension with the one in filter
This commit is contained in:
@@ -208,7 +208,7 @@ base::FilePath FileChooserDialog::AddExtensionForFilename(
|
||||
return path;
|
||||
}
|
||||
|
||||
return path.AddExtension(extensions[0]);
|
||||
return path.ReplaceExtension(extensions[0]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user