mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Simplifies the use of MultiSourceWidget
Widgets that embed MultiSourceWidget no longer have to explicitly call loadSources(). This is done as part of the set-up for MultiSourceWidget.
This commit is contained in:
@@ -48,7 +48,6 @@ func NewWidget(app *tview.Application, pages *tview.Pages, settings *Settings) *
|
||||
|
||||
widget.HelpfulWidget.SetView(widget.View)
|
||||
|
||||
widget.LoadSources()
|
||||
widget.SetDisplayFunction(widget.display)
|
||||
|
||||
widget.client = NewClient(settings)
|
||||
|
||||
Reference in New Issue
Block a user