[log] IDEA-115676 Don't scroll details panel to bottom on text update

This commit is contained in:
Kirill Likhodedov
2013-11-03 21:32:23 +04:00
parent 324a0f6492
commit 956ede2c21
@@ -160,6 +160,7 @@ class DetailsPanel extends JPanel implements ListSelectionListener {
else {
myHashLabel.setText(commit.getHash().toShortString());
myCommitMessage.setText(commit.getFullMessage());
myCommitMessage.setCaretPosition(0);
String authorText = commit.getAuthorName() + " at " + DateFormatUtil.formatDateTime(commit.getAuthorTime());
if (!commit.getAuthorName().equals(commit.getCommitterName()) || !commit.getAuthorEmail().equals(commit.getCommitterEmail())) {