Rebased to main
This commit is contained in:
parent
a0cb6542ba
commit
992b94eef3
8 changed files with 10 additions and 14 deletions
|
@ -16,9 +16,7 @@ use sqlez::{
|
|||
};
|
||||
use util::ResultExt;
|
||||
|
||||
use crate::{
|
||||
dock::DockPosition, item::ItemHandle, ItemDeserializers, Member, Pane, PaneAxis, Workspace,
|
||||
};
|
||||
use crate::{dock::DockPosition, ItemDeserializers, Member, Pane, PaneAxis, Workspace};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct WorkspaceId(Arc<Vec<PathBuf>>);
|
||||
|
|
|
@ -677,7 +677,7 @@ impl Workspace {
|
|||
cx: &mut MutableAppContext,
|
||||
) -> Task<(
|
||||
ViewHandle<Workspace>,
|
||||
Vec<Option<Result<Box<dyn ItemHandle>, Arc<anyhow::Error>>>>,
|
||||
Vec<Option<Result<Box<dyn ItemHandle>, anyhow::Error>>>,
|
||||
)> {
|
||||
let project_handle = Project::local(
|
||||
app_state.client.clone(),
|
||||
|
@ -740,7 +740,7 @@ impl Workspace {
|
|||
Some(
|
||||
workspace
|
||||
.update(&mut cx, |workspace, cx| {
|
||||
workspace.open_path(project_path, true, cx)
|
||||
workspace.open_path(project_path, None, true, cx)
|
||||
})
|
||||
.await,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue