]> khamidou — GitHub mirrors - electron.git/commit
Set default extension in Windows file dialog
authorEran Tiktin <eran.t@mce-sys.com>
Sun, 27 Sep 2015 23:12:47 +0000 (02:12 +0300)
committerEran Tiktin <eran.t@mce-sys.com>
Sun, 27 Sep 2015 23:12:47 +0000 (02:12 +0300)
commit6dcc752f6742d150ce909ffffae270355234c608
tree4ddb3f89a2ff65e748f833b0458eef7ab947cdfe
parentfd9eadd1fac75fbb709775768e6cf3d218cd7298
Set default extension in Windows file dialog

On Windows when you open the save dialog and switch the filter, the
extension is supposed to change accordingly. It didn't happen with the
existing code, since the existing code didn't set the default extension
(should be set to the first filter).

This resolves #2915.
atom/browser/ui/file_dialog_win.cc