From d1baa80a98345f182dad9b80ea7d42e055aa97f7 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 11 Jan 2018 20:53:25 +0200 Subject: [PATCH] Git: Do not pop the VCS pane on every [Un]Stage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTCREATORBUG-19051 Change-Id: I8dcf95238dcbc396b2dfe6a7d6048bbbb8551921 Reviewed-by: Tobias Hunger Reviewed-by: André Hartmann --- src/plugins/git/gitclient.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 7d41d5c5387..a5111435af5 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -657,11 +657,11 @@ void GitClient::stage(const QString &patch, bool revert) &errorMessage, args)) { if (errorMessage.isEmpty()) { if (revert) - VcsOutputWindow::append(tr("Chunk successfully unstaged")); + VcsOutputWindow::appendSilently(tr("Chunk successfully unstaged")); else - VcsOutputWindow::append(tr("Chunk successfully staged")); + VcsOutputWindow::appendSilently(tr("Chunk successfully staged")); } else { - VcsOutputWindow::append(errorMessage); + VcsOutputWindow::appendError(errorMessage); } m_contextController->requestReload(); } else {