mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Don't use the attributed string for dragging from outline views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4c396274da
commit
1ada7d514d
1 changed files with 8 additions and 1 deletions
|
@ -2317,8 +2317,15 @@ Also returns the child index relative to this parent. */
|
|||
withString:@" "
|
||||
startingAtIndex:0];
|
||||
|
||||
draggedItemString = [pad stringByAppendingString:draggedItemString];
|
||||
if ([draggedObject isKindOfClass:[NSAttributedString class]])
|
||||
{
|
||||
draggedItemString = [pad stringByAppendingString:[draggedObject string]];
|
||||
}
|
||||
else
|
||||
{
|
||||
draggedItemString = [pad stringByAppendingString:[draggedObject description]];
|
||||
}
|
||||
}
|
||||
}
|
||||
return draggedItemString;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue