Open a new window when activating Zed from the dock w/ no windows open
This commit is contained in:
parent
7601e7902a
commit
b5f762ab25
5 changed files with 49 additions and 17 deletions
|
@ -105,7 +105,8 @@ fn main() {
|
|||
.map_err(|_| anyhow!("no listener for open urls requests"))
|
||||
.log_err();
|
||||
}
|
||||
});
|
||||
})
|
||||
.on_reopen(move |cx| cx.dispatch_global_action(NewFile));
|
||||
|
||||
app.run(move |cx| {
|
||||
cx.set_global(*RELEASE_CHANNEL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue