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:
@@ -53,7 +53,6 @@ func NewWidget(app *tview.Application, pages *tview.Pages, settings *Settings) *
|
||||
widget.settings.common.RefreshInterval = 0
|
||||
|
||||
widget.HelpfulWidget.SetView(widget.View)
|
||||
widget.LoadSources()
|
||||
widget.SetDisplayFunction(widget.display)
|
||||
widget.View.SetWrap(true)
|
||||
widget.View.SetWordWrap(true)
|
||||
|
||||
Reference in New Issue
Block a user