[vcs-log] always restore the last cursor under the log if it's not the default one (IDEA-228597)

GitOrigin-RevId: 9b5180a5458fde3edc177618dbb929b3af6d4517
This commit is contained in:
Dmitry Zhuravlev
2019-12-13 16:07:10 +00:00
committed by intellij-monorepo-bot
parent 21dbcdb8b9
commit 810d512713
@@ -872,7 +872,7 @@ public class VcsLogGraphTable extends TableWithProgress implements DataProvider,
}
private void restoreCursor() {
if (getCursor().getType() == Cursor.HAND_CURSOR) {
if (getCursor().getType() != Cursor.DEFAULT_CURSOR) {
setCursor(UIUtil.cursorIfNotDefault(myLastCursor));
myLastCursor = null;
}