mirror of https://github.com/lapce/lapce.git
save worksapce in sync
This commit is contained in:
parent
f1e33326db
commit
131d93fcdb
|
@ -165,10 +165,7 @@ pub fn save_workspace(&self, data: &LapceTabData) -> Result<()> {
|
|||
active_editor,
|
||||
};
|
||||
|
||||
self.save_tx.send(SaveEvent::Workspace(
|
||||
(*(workspace.clone())).clone(),
|
||||
workspace_info,
|
||||
))?;
|
||||
self.insert_workspace(workspace, &workspace_info)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue