Commit 20f1a4c1 authored by Nikolai Krasheninnikov's avatar Nikolai Krasheninnikov Committed by Elvis Angelaccio
Browse files

[svn] SVN Log dialog after update to revision action now selects that revision.

Also update to revision action refreshes log only if its successed: no
need to refresh on failure, it's unchanged.
parent de4e5c31
......@@ -161,6 +161,8 @@ void SvnLogDialog::setCurrentRevision(ulong revision)
m_ui.tLog->item(i, columnDate)->setFont(font);
m_ui.tLog->item(i, columnMessage)->setFont(font);
m_ui.tLog->selectRow(i);
break;
}
}
......@@ -283,9 +285,8 @@ void SvnLogDialog::updateRepoToRevision()
emit errorMessage(i18nc("@info:status", "SVN log: update to revision failed."));
} else {
emit operationCompletedMessage(i18nc("@info:status", "SVN log: update to revision %1 successful.", revision));
SvnLogDialog::refreshLog();
}
SvnLogDialog::refreshLog();
}
void SvnLogDialog::revertRepoToRevision()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment