mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: remove conflicting RunFileChooserEnd for Mac (#30935)
This commit is contained in:
@@ -183,7 +183,9 @@ void FileSelectHelper::OnOpenDialogDone(gin_helper::Dictionary result) {
|
||||
browser_context->prefs()->SetFilePath(prefs::kSelectFileLastDirectory,
|
||||
paths[0].DirName());
|
||||
}
|
||||
#if !defined(OS_MAC)
|
||||
RunFileChooserEnd();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user