push dialog: tree edit target panel cursor changed to HAND_CURSOR

This commit is contained in:
Nadya Zabrodina
2014-10-13 18:25:31 +04:00
parent 6ce6d72f5a
commit f76e68c2e2
@@ -35,10 +35,7 @@ public class VcsBranchEditorListener extends LinkMouseListenerBase {
public void mouseMoved(MouseEvent e) {
Component component = (Component)e.getSource();
Object tag = getTagAt(e);
if (tag != null && tag instanceof PushTargetPanel) {
component.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
}
else if (tag != null && tag instanceof TextWithLinkNode) {
if (tag instanceof PushTargetPanel || tag instanceof TextWithLinkNode) {
component.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
}
else {