forked from qt-creator/qt-creator
		
	Git: Do not suggest to continue command when commit editor is active
When executing mergetool from the commit editor it is unlikely that the user wants to do anything but to commit. Change-Id: I1302951c4afee554b35a261d60f402b56c077681 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
		
				
					committed by
					
						
						Orgad Shaneh
					
				
			
			
				
	
			
			
			
						parent
						
							1dc90bcf44
						
					
				
				
					commit
					eb375d734d
				
			@@ -2084,6 +2084,8 @@ GitClient::CommandInProgress GitClient::checkCommandInProgress(const QString &wo
 | 
			
		||||
 | 
			
		||||
void GitClient::continueCommandIfNeeded(const QString &workingDirectory, bool allowContinue)
 | 
			
		||||
{
 | 
			
		||||
    if (GitPlugin::instance()->isCommitEditorOpen())
 | 
			
		||||
        return;
 | 
			
		||||
    CommandInProgress command = checkCommandInProgress(workingDirectory);
 | 
			
		||||
    ContinueCommandMode continueMode;
 | 
			
		||||
    if (allowContinue)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user