1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Allow showing Disabled errors as error panel instead of toast

This commit is contained in:
Stefan Haller
2024-01-13 20:30:18 +01:00
parent 84e1d15079
commit 83337d9fa8
5 changed files with 19 additions and 2 deletions

View File

@ -890,7 +890,7 @@ func (self *LocalCommitsController) notMidRebase() *types.DisabledReason {
// For getting disabled reason
func (self *LocalCommitsController) canFindCommitForQuickStart() *types.DisabledReason {
if _, err := self.findCommitForQuickStartInteractiveRebase(); err != nil {
return &types.DisabledReason{Text: err.Error()}
return &types.DisabledReason{Text: err.Error(), ShowErrorInPanel: true}
}
return nil