workspace: Respect minimized state when deserializing workspaces (#24127)
Fixes a regression from #24015 pointed out in #24093 Closes #24093 Release Notes: - N/A
This commit is contained in:
parent
f45d58f01a
commit
6b48a6e690
3 changed files with 3 additions and 4 deletions
|
@ -1284,10 +1284,7 @@ impl Workspace {
|
|||
.unwrap_or_default();
|
||||
|
||||
window
|
||||
.update(&mut cx, |_, window, cx| {
|
||||
window.activate_window();
|
||||
cx.activate(true);
|
||||
})
|
||||
.update(&mut cx, |_, window, _| window.activate_window())
|
||||
.log_err();
|
||||
Ok((window, opened_items))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue