Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/10 04:45:45 (14 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

File:
1 edited

Legend:

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

    r3588 r3694  
    249249      T item = e.Data.GetData("Value") as T;
    250250      if (!ReadOnly && (type != null) && (item != null)) {
    251         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     251        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    252252        else if (((e.KeyState & 4) == 4) && !itemListViewItemTable.ContainsKey(item)) e.Effect = DragDropEffects.Move;  // SHIFT key
    253253        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
Note: See TracChangeset for help on using the changeset viewer.