Add "Close Window" command
This commit is contained in:
parent
b08cad9ef5
commit
21206800bc
4 changed files with 38 additions and 0 deletions
|
@ -58,6 +58,10 @@ pub fn menus() -> Vec<Menu<'static>> {
|
|||
name: "Close Editor",
|
||||
action: Box::new(workspace::CloseActiveItem),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Close Window",
|
||||
action: Box::new(workspace::CloseWindow),
|
||||
},
|
||||
],
|
||||
},
|
||||
Menu {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue