summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-13 10:48:41 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commit41527270ed9270ef6c463866e9c761f2285af857 (patch)
treeb46231e732b100701f82acbea7269d8e76f2dd07 /pkg/gui/gui.go
parent3188526ecb1e48327249a830173de7ab5ce5978a (diff)
appease linter
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 3966cd48f..7dab1dc99 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -212,18 +212,6 @@ type Controllers struct {
Global *controllers.GlobalController
}
-type listPanelState struct {
- SelectedLineIdx int
-}
-
-func (h *listPanelState) SetSelectedLineIdx(value int) {
- h.SelectedLineIdx = value
-}
-
-func (h *listPanelState) GetSelectedLineIdx() int {
- return h.SelectedLineIdx
-}
-
// for now the staging panel state, unlike the other panel states, is going to be
// non-mutative, so that we don't accidentally end up
// with mismatches of data. We might change this in the future