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

avoid npe on victorops settings

Signed-off-by: R.I.Pienaar <rip@devco.net>
This commit is contained in:
R.I.Pienaar 2020-06-25 22:05:18 +02:00
parent 898fc6d34a
commit 15df0ee2f4
No known key found for this signature in database
GPG Key ID: 02E5780DF1BC6F01

View File

@ -20,6 +20,7 @@ type Widget struct {
func NewWidget(app *tview.Application, settings *Settings) *Widget {
widget := Widget{
TextWidget: view.NewTextWidget(app, settings.common),
settings: settings,
}
widget.View.SetScrollable(true)