fix: reverse dialog cancel bool for openDialog (#18492)
This commit is contained in:
parent
f5b3d00b47
commit
3d8db573d9
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void RunOpenDialogInNewThread(const RunState& run_state,
|
|||
bool result = ShowOpenDialogSync(settings, &paths);
|
||||
run_state.ui_task_runner->PostTask(
|
||||
FROM_HERE,
|
||||
base::BindOnce(&OnDialogOpened, std::move(promise), result, paths));
|
||||
base::BindOnce(&OnDialogOpened, std::move(promise), !result, paths));
|
||||
run_state.ui_task_runner->DeleteSoon(FROM_HERE, run_state.dialog_thread);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue