mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:45:07 +00:00
TextEditor: Remove confirmation when opening from recent files list
If the user has clicked to open a recent file, we don't need to ask them again if they want to open it.
This commit is contained in:
parent
fb0fd85e97
commit
d0730c1c75
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
|
|||
return;
|
||||
}
|
||||
|
||||
auto response = FileSystemAccessClient::Client::the().request_file(&window, action.text(), Core::File::OpenMode::Read);
|
||||
auto response = FileSystemAccessClient::Client::the().request_file_read_only_approved(&window, action.text());
|
||||
if (response.is_error())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue