Skip to content

Commit

Permalink
Update print_menu.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rrydman authored Jan 23, 2020
1 parent e008236 commit 3aa1a43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/print_menu.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func (m *printMenuPanel) initialize() {
m.Grid().Attach(MustButtonImageStyle("Network", "network.svg", "color1", m.showNetwork), 3, 0, 1, 1)
m.Grid().Attach(MustButtonImageStyle("System", "info.svg", "color3", m.showSystem), 4, 0, 1, 1)
m.Grid().Attach(MustButtonImageStyle("Filament", "filament.svg", "color3", m.showFilament), 1, 1, 1, 1)
m.Grid().Attach(MustButtonImageStyle("Control", "control.svg", "color3", m.showControl), 2, 1, 1, 1)
}

func (m *printMenuPanel) showTemperature() {
Expand All @@ -45,6 +46,6 @@ func (m *printMenuPanel) showFilament() {
m.UI.Add(FilamentPanel(m.UI, m))
}

// func (m *printMenuPanel) showControl() {
// m.UI.Add(ControlPanel(m.UI, m))
// }
func (m *printMenuPanel) showControl() {
m.UI.Add(ControlPanel(m.UI, m))
}

0 comments on commit 3aa1a43

Please sign in to comment.