forked from tslocum/cview
Fix incorrect arguments for TabbedPanels.RemoveTab
parent
a55c812490
commit
a3709cc49b
|
@ -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…
Reference in New Issue