Rename the OpenFile
action to OpenSelectedFilename
to better reflect its function (#22494)
Release Notes: - Renamed the `OpenFile` action to `OpenSelectedFilename` for clarity
This commit is contained in:
parent
2ba91609c9
commit
810b37c129
9 changed files with 113 additions and 33 deletions
|
@ -9503,7 +9503,7 @@ impl Editor {
|
|||
url_finder.detach();
|
||||
}
|
||||
|
||||
pub fn open_file(&mut self, _: &OpenFile, cx: &mut ViewContext<Self>) {
|
||||
pub fn open_selected_filename(&mut self, _: &OpenSelectedFilename, cx: &mut ViewContext<Self>) {
|
||||
let Some(workspace) = self.workspace() else {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue