diff options
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 72d9f4bb6d..7d0f918c74 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -1123,9 +1123,9 @@ bool GitPlugin::submitEditorAboutToClose() } if (m_gitClient->checkCommandInProgress(m_submitRepository) == GitClient::NoCommand) { - if (editor->panelData().pushAction == CommitAndPush) + if (editor->panelData().pushAction == NormalPush) m_gitClient->push(m_submitRepository); - else if (editor->panelData().pushAction == CommitAndPushToGerrit) + else if (editor->panelData().pushAction == PushToGerrit) connect(editor, SIGNAL(destroyed()), this, SLOT(delayedPushToGerrit())); } |