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();
|
checker.start();
|
||||||
} else {
|
} else {
|
||||||
checker.stop();
|
checker.stop();
|
||||||
|
setDefaultStatus(checker);
|
||||||
}
|
}
|
||||||
setDefaultStatus(checker);
|
|
||||||
}, toggle->lifetime());
|
}, toggle->lifetime());
|
||||||
|
|
||||||
if (install) {
|
if (install) {
|
||||||
|
@ -184,7 +184,6 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
||||||
cSetLastUpdateCheck(0);
|
cSetLastUpdateCheck(0);
|
||||||
}
|
}
|
||||||
checker.start();
|
checker.start();
|
||||||
setDefaultStatus(checker);
|
|
||||||
}, toggle->lifetime());
|
}, toggle->lifetime());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue