update bug fix

This commit is contained in:
cuu
2018-12-08 14:35:14 +08:00
parent fd5fa1f962
commit 46a3449ad1
2 changed files with 2 additions and 1 deletions

View File

@@ -202,6 +202,7 @@ func (self *UpdatePage) CheckUpdate() bool {
if git_revision_short_hash != ret.GitVersion {
self.ConfirmPage.Version = ret.GitVersion
self.ConfirmPage.GIT = true
self.Screen.PushCurPage()
self.Screen.SetCurPage(self.ConfirmPage)