Browse Source

Fix incorrect arguments for TabbedPanels.RemoveTab

tablepad
Trevor Slocum 2 years ago
parent
commit
a3709cc49b
  1. 2
      tabbedpanels.go

2
tabbedpanels.go

@ -82,7 +82,7 @@ func (t *TabbedPanels) AddTab(name, label string, item Primitive) {
}
// RemoveTab removes a tab.
func (t *TabbedPanels) RemoveTab(name, label string, item Primitive) {
func (t *TabbedPanels) RemoveTab(name string) {
t.panels.RemovePanel(name)
t.updateAll()

Loading…
Cancel
Save