summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/suggestions_controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/suggestions_controller.go')
-rw-r--r--pkg/gui/controllers/suggestions_controller.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/gui/controllers/suggestions_controller.go b/pkg/gui/controllers/suggestions_controller.go
index 5772e35b6..17b8915a1 100644
--- a/pkg/gui/controllers/suggestions_controller.go
+++ b/pkg/gui/controllers/suggestions_controller.go
@@ -7,17 +7,17 @@ import (
type SuggestionsController struct {
baseController
- *controllerCommon
+ c *ControllerCommon
}
var _ types.IController = &SuggestionsController{}
func NewSuggestionsController(
- common *controllerCommon,
+ common *ControllerCommon,
) *SuggestionsController {
return &SuggestionsController{
- baseController: baseController{},
- controllerCommon: common,
+ baseController: baseController{},
+ c: common,
}
}
@@ -42,7 +42,7 @@ func (self *SuggestionsController) GetKeybindings(opts types.KeybindingsOpts) []
func (self *SuggestionsController) GetOnFocusLost() func(types.OnFocusLostOpts) error {
return func(types.OnFocusLostOpts) error {
- self.helpers.Confirmation.DeactivateConfirmationPrompt()
+ self.c.Helpers().Confirmation.DeactivateConfirmationPrompt()
return nil
}
}