Fix incorrect arguments for TabbedPanels.RemoveTab

This commit is contained in:
Trevor Slocum 2020-10-24 11:27:10 -07:00
parent a55c812490
commit a3709cc49b
1 changed files with 1 additions and 1 deletions

View File

@ -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()