Merge pull request #8832 from howard-stearns/fix-directory-picker-when-choosing-default

directory picker works when choosing the initial value
This commit is contained in:
Seth Alves 2016-10-17 17:40:25 -07:00 committed by GitHub
commit ff32ddae01

View file

@ -87,6 +87,8 @@ ModalWindow {
if (selectDirectory) {
currentSelection.text = d.capitalizeDrive(helper.urlToPath(initialFolder));
d.currentSelectionIsFolder = true;
d.currentSelectionUrl = initialFolder;
}
helper.contentsChanged.connect(function() {