diff options
author | stuconnolly <stuart02@gmail.com> | 2010-10-28 15:35:40 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-10-28 15:35:40 +0000 |
commit | f48b5ba6410a5d449fad026e870e2c3e5e0fcf53 (patch) | |
tree | a358fb72201d9c70f2a7d05909cab9fc7eabe8c0 /Source/SPCustomQuery.m | |
parent | c48e2762b6906f4751f9918af379d01b42647e46 (diff) | |
download | sequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.tar.gz sequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.tar.bz2 sequelpro-f48b5ba6410a5d449fad026e870e2c3e5e0fcf53.zip |
Add SPDefaultPasteboardDragType constant.
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 203f9ae6..31ff02d7 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -2128,9 +2128,9 @@ if ( aTableView == queryFavoritesView ) { if ([pboardTypes count] == 1 && row != -1) { - if ([[pboardTypes objectAtIndex:0] isEqualToString:@"SequelProPasteboard"]==YES && operation==NSTableViewDropAbove) + if ([[pboardTypes objectAtIndex:0] isEqualToString:SPDefaultPasteboardDragType]==YES && operation==NSTableViewDropAbove) { - originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + originalRow = [[[info draggingPasteboard] stringForType:SPDefaultPasteboardDragType] intValue]; if (row != originalRow && row != (originalRow+1)) { @@ -2151,7 +2151,7 @@ NSMutableDictionary *draggedRow; if ( aTableView == queryFavoritesView ) { - originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + originalRow = [[[info draggingPasteboard] stringForType:SPDefaultPasteboardDragType] intValue]; destinationRow = row; if ( destinationRow > originalRow ) |