Set the correct dispatch action for the double-click handler for the pane tab bar (#9221)

Fixes #9003

Release Notes:

- Fixed the double-click action on the terminal tab bar opening a new
buffer instead of a new terminal
([#9003](https://github.com/zed-industries/zed/issues/9003)).
This commit is contained in:
Igal Tabachnik
2024-03-13 17:30:10 +02:00
committed by GitHub
parent fc9f84446a
commit 6286d86262
3 changed files with 12 additions and 6 deletions
+2
View File
@@ -618,6 +618,7 @@ impl Workspace {
project.clone(),
pane_history_timestamp.clone(),
None,
NewFile.boxed_clone(),
cx,
)
});
@@ -1860,6 +1861,7 @@ impl Workspace {
self.project.clone(),
self.pane_history_timestamp.clone(),
None,
NewFile.boxed_clone(),
cx,
)
});