diff options
Diffstat (limited to 'pkg/gui/controllers/files_remove_controller.go')
-rw-r--r-- | pkg/gui/controllers/files_remove_controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/files_remove_controller.go b/pkg/gui/controllers/files_remove_controller.go index 521167c33..c2416bfaf 100644 --- a/pkg/gui/controllers/files_remove_controller.go +++ b/pkg/gui/controllers/files_remove_controller.go @@ -139,7 +139,7 @@ func (self *FilesRemoveController) ResetSubmodule(submodule *models.SubmoduleCon func (self *FilesRemoveController) checkSelectedFileNode(callback func(*filetree.FileNode) error) func() error { return func() error { - node := self.context().GetSelectedFileNode() + node := self.context().GetSelected() if node == nil { return nil } |