Replace extension with the one in filter
This commit is contained in:
parent
81a16b424f
commit
c2797e1864
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ base::FilePath FileChooserDialog::AddExtensionForFilename(
|
|||
return path;
|
||||
}
|
||||
|
||||
return path.AddExtension(extensions[0]);
|
||||
return path.ReplaceExtension(extensions[0]);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue