Git: Do not pop the VCS pane on every [Un]Stage

Task-number: QTCREATORBUG-19051
Change-Id: I8dcf95238dcbc396b2dfe6a7d6048bbbb8551921
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2018-01-11 20:53:25 +02:00
committed by Orgad Shaneh
parent 6112aa762b
commit d1baa80a98

View File

@@ -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 {