[#1223] lens/tui: Fix exit on loading cancel
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
a3e0380e43
commit
c54ae73841
1 changed files with 3 additions and 0 deletions
|
@ -268,6 +268,9 @@ func (ui *UI) mountAndUpdate(ctx context.Context) {
|
|||
// Not saving previously mounted page in history on new mount is
|
||||
// exceptional, we always want to have previously mounted page saved.
|
||||
ui.saveMounted = true
|
||||
|
||||
// After application started the first mount either fails or succeeds.
|
||||
ui.isFirstMount = false
|
||||
}()
|
||||
|
||||
s := loadOp(ctx, ui.pageToMount.Mount)
|
||||
|
|
Loading…
Reference in a new issue