blob: 976cf5b4349bf04223ed318cfe771f93ec704c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package gui
func (gui *Gui) handleCreateExtrasMenuPanel() error {
menuItems := []*menuItem{
{
displayString: "Toggle show/hide command log",
onPress: func() error {
gui.ShowExtrasWindow = !gui.ShowExtrasWindow
return nil
},
},
}
return gui.createMenu(gui.Tr.DiffingMenuTitle, menuItems, createMenuOptions{showCancel: true})
}
|