Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/26/10 00:56:59 (15 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs

    r3483 r3526  
    264264        ListViewItem listViewItem = itemsListView.GetItemAt(p.X, p.Y);
    265265        if (listViewItem != null) {
    266           if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Copy;  // CTRL key
     266          if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
    267267          else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    268           else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link;
    269268          else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
    270269          else if ((e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) e.Effect = DragDropEffects.Move;
     270          else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link;
    271271        }
    272272      }
Note: See TracChangeset for help on using the changeset viewer.