Add "New Window" command
This commit is contained in:
parent
c4fc3d9c7f
commit
e72f5cea22
6 changed files with 30 additions and 16 deletions
|
@ -31,7 +31,11 @@ pub fn menus() -> Vec<Menu<'static>> {
|
|||
items: vec![
|
||||
MenuItem::Action {
|
||||
name: "New",
|
||||
action: Box::new(workspace::OpenNew),
|
||||
action: Box::new(workspace::NewFile),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "New Window",
|
||||
action: Box::new(workspace::NewWindow),
|
||||
},
|
||||
MenuItem::Separator,
|
||||
MenuItem::Action {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue