Remove more window id usage
This commit is contained in:
parent
da7dc9c880
commit
0a4633f88f
10 changed files with 25 additions and 36 deletions
|
@ -931,11 +931,11 @@ pub fn dock_default_item_factory(
|
|||
.clone();
|
||||
let working_directory = get_working_directory(workspace, cx, strategy);
|
||||
|
||||
let window_id = cx.window_id();
|
||||
let window = cx.window();
|
||||
let terminal = workspace
|
||||
.project()
|
||||
.update(cx, |project, cx| {
|
||||
project.create_terminal(working_directory, window_id, cx)
|
||||
project.create_terminal(working_directory, window, cx)
|
||||
})
|
||||
.notify_err(workspace, cx)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue