mirror of https://github.com/procxx/kepka.git
Fixed display of update checking when autoupdate is toggled.
This commit is contained in:
parent
dcdaee3db2
commit
ed7a88ca17
|
@ -165,8 +165,8 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
|||
checker.start();
|
||||
} else {
|
||||
checker.stop();
|
||||
setDefaultStatus(checker);
|
||||
}
|
||||
setDefaultStatus(checker);
|
||||
}, toggle->lifetime());
|
||||
|
||||
if (install) {
|
||||
|
@ -184,7 +184,6 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
|||
cSetLastUpdateCheck(0);
|
||||
}
|
||||
checker.start();
|
||||
setDefaultStatus(checker);
|
||||
}, toggle->lifetime());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue