fix: remove conflicting RunFileChooserEnd for Mac (#30935)
This commit is contained in:
parent
b6a12a53e3
commit
c74b9ff312
1 changed files with 2 additions and 0 deletions
|
@ -183,7 +183,9 @@ void FileSelectHelper::OnOpenDialogDone(gin_helper::Dictionary result) {
|
||||||
browser_context->prefs()->SetFilePath(prefs::kSelectFileLastDirectory,
|
browser_context->prefs()->SetFilePath(prefs::kSelectFileLastDirectory,
|
||||||
paths[0].DirName());
|
paths[0].DirName());
|
||||||
}
|
}
|
||||||
|
#if !defined(OS_MAC)
|
||||||
RunFileChooserEnd();
|
RunFileChooserEnd();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue