1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

WTF-400 TextWidget properly renders title again

This commit is contained in:
Chris Cummer
2019-04-19 14:06:55 -07:00
parent 6227b2bcdb
commit 6fd9430ef8
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ func (widget *TextWidget) addView(app *tview.Application, configKey string) {
view.SetBorder(true)
view.SetDynamicColors(true)
view.SetTitle(widget.ContextualTitle(widget.name))
view.SetTitle(widget.ContextualTitle(widget.CommonSettings.Title))
view.SetWrap(false)
view.SetChangedFunc(func() {