[git] Pass correct instance to the history diff handler. IDEA-89361

This commit is contained in:
Kirill Likhodedov
2012-07-30 16:19:04 +04:00
parent aa63ae712c
commit dfacd30b8f
@@ -871,7 +871,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton {
// no previous
previousRevision = myBottomRevisionForShowDiff != null ? myBottomRevisionForShowDiff : VcsFileRevision.NULL;
} else {
previousRevision = flatView.getRow(selectedRow + 1);
previousRevision = flatView.getRow(selectedRow + 1).getRevision();
}
if (revision != null) {