mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
only close OSD when a skin is successfully updated from Git
This commit is contained in:
parent
db69972a51
commit
57244494b6
5
setup.c
5
setup.c
@ -96,11 +96,12 @@ eOSState cInstallManager::ProcessInstallationStatus(void) {
|
|||||||
if (Finished()) {
|
if (Finished()) {
|
||||||
if (SuccessfullyUpdated()) {
|
if (SuccessfullyUpdated()) {
|
||||||
Skins.Message(mtStatus, tr("Skin successfully updated"));
|
Skins.Message(mtStatus, tr("Skin successfully updated"));
|
||||||
|
cCondWait::SleepMs(1000);
|
||||||
|
return osEnd;
|
||||||
} else {
|
} else {
|
||||||
Skins.Message(mtStatus, tr("Skin already up to date"));
|
Skins.Message(mtStatus, tr("Skin already up to date"));
|
||||||
|
return osContinue;
|
||||||
}
|
}
|
||||||
cCondWait::SleepMs(1000);
|
|
||||||
return osEnd;
|
|
||||||
} else {
|
} else {
|
||||||
int duration = Duration();
|
int duration = Duration();
|
||||||
if (duration > timeout) {
|
if (duration > timeout) {
|
||||||
|
Loading…
Reference in New Issue
Block a user