mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[log] IDEA-115676 Don't scroll details panel to bottom on text update
This commit is contained in:
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user