diff options
author | louis <louis.braun@gmx.de> | 2015-06-05 07:34:45 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-06-05 07:34:45 +0200 |
commit | 57244494b6a88834c2b01252a83b85fb0b21c456 (patch) | |
tree | b74e46041bb74ed0aad93ee50fdfdede15aae508 | |
parent | db69972a5153d93287fc30b6df3244d08a6a7e68 (diff) | |
download | vdr-plugin-skindesigner-57244494b6a88834c2b01252a83b85fb0b21c456.tar.gz vdr-plugin-skindesigner-57244494b6a88834c2b01252a83b85fb0b21c456.tar.bz2 |
only close OSD when a skin is successfully updated from Git
-rw-r--r-- | setup.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -96,11 +96,12 @@ eOSState cInstallManager::ProcessInstallationStatus(void) { if (Finished()) { if (SuccessfullyUpdated()) { Skins.Message(mtStatus, tr("Skin successfully updated")); + cCondWait::SleepMs(1000); + return osEnd; } else { Skins.Message(mtStatus, tr("Skin already up to date")); - } - cCondWait::SleepMs(1000); - return osEnd; + return osContinue; + } } else { int duration = Duration(); if (duration > timeout) { |