mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	only close OSD when a skin is successfully updated from Git
This commit is contained in:
		
							
								
								
									
										5
									
								
								setup.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								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"));
 | 
			
		||||
                return osContinue;
 | 
			
		||||
            }            
 | 
			
		||||
            cCondWait::SleepMs(1000);
 | 
			
		||||
            return osEnd;
 | 
			
		||||
        } else {
 | 
			
		||||
            int duration = Duration();
 | 
			
		||||
            if (duration > timeout) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user