Open a new window when activating Zed from the dock w/ no windows open
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user