diff options
Diffstat (limited to 'pkg/gui/list_context.go')
-rw-r--r-- | pkg/gui/list_context.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/list_context.go b/pkg/gui/list_context.go index 2bbcaee55..39fa8f6bf 100644 --- a/pkg/gui/list_context.go +++ b/pkg/gui/list_context.go @@ -23,7 +23,7 @@ type ListContext struct { Gui *Gui ResetMainViewOriginOnFocus bool - Kind int + Kind ContextKind ParentContext Context // we can't know on the calling end whether a Context is actually a nil value without reflection, so we're storing this flag here to tell us. There has got to be a better way around this. hasParent bool @@ -102,7 +102,7 @@ func (lc *ListContext) GetKey() string { return lc.ContextKey } -func (lc *ListContext) GetKind() int { +func (lc *ListContext) GetKind() ContextKind { return lc.Kind } |