From 57244494b6a88834c2b01252a83b85fb0b21c456 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 5 Jun 2015 07:34:45 +0200 Subject: [PATCH] only close OSD when a skin is successfully updated from Git --- setup.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.c b/setup.c index f14b378..98cf5d9 100644 --- a/setup.c +++ b/setup.c @@ -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) {