Add text-edit entry if git pull is successful.
This commit is contained in:
		@@ -465,10 +465,11 @@ bool Worker::filesToUpdate() {
 | 
				
			|||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                emit appendText(QString("\nFound 1 file to update "), UPDATE_STEP_DONE);
 | 
					                emit appendText(QString("\nFound 1 file to update "), UPDATE_STEP_DONE);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            if (!m_gc.gitPull()) {
 | 
					            if (m_gc.gitPull()) {
 | 
				
			||||||
                emit showErrorMessage("files to update", "pulling files failed");
 | 
					                emit appendText(QString("\nFetch changes files "), UPDATE_STEP_DONE);
 | 
				
			||||||
 | 
					                return true;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            return true;
 | 
					            emit showErrorMessage("files to update", "pulling files failed");
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            emit showErrorMessage("files to update", "no files to update (checked-in any files?)");
 | 
					            emit showErrorMessage("files to update", "no files to update (checked-in any files?)");
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user