diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 07:37:46 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 2c3f5be093c76a7bd71661e88e2823dd27fb431f (patch) | |
tree | 686a84a0e30fea8c220b4651c413810aceb2a11f /pkg/gui/context.go | |
parent | 95a4ca6f8e2163e00932d0a270662d4a139fa6c7 (diff) |
comment these things out because we're not using them yet
Diffstat (limited to 'pkg/gui/context.go')
-rw-r--r-- | pkg/gui/context.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkg/gui/context.go b/pkg/gui/context.go index 77527f466..78aafba37 100644 --- a/pkg/gui/context.go +++ b/pkg/gui/context.go @@ -215,9 +215,9 @@ func (gui *Gui) contextTree() ContextTree { }, Staging: SimpleContextNode{ Context: BasicContext{ - // TODO: think about different situations where this arises OnFocus: func() error { return nil + // TODO: centralise the code here // return gui.refreshStagingPanel(false, -1) }, Kind: MAIN_CONTEXT, @@ -227,9 +227,10 @@ func (gui *Gui) contextTree() ContextTree { }, PatchBuilding: SimpleContextNode{ Context: BasicContext{ - // TODO: think about different situations where this arises OnFocus: func() error { - return gui.refreshPatchBuildingPanel(-1) + return nil + // TODO: centralise the code here + // return gui.refreshPatchBuildingPanel(-1) }, Kind: MAIN_CONTEXT, ViewName: "main", @@ -238,9 +239,10 @@ func (gui *Gui) contextTree() ContextTree { }, Merging: SimpleContextNode{ Context: BasicContext{ - // TODO: think about different situations where this arises OnFocus: func() error { - return gui.refreshMergePanel() + return nil + // TODO: centralise the code here + // return gui.refreshMergePanel() }, Kind: MAIN_CONTEXT, ViewName: "main", |