Author: paullanders Date: Tue Nov 15 19:50:44 2016 New Revision: 40220 URL: http://svn.gna.org/viewcvs/gnustep?rev=40220&view=rev Log: Don't use the attributed string for dragging from outline views.
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSOutlineView.m Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSOutlineView.m URL: http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSOutlineView.m?rev=40220&r1=40219&r2=40220&view=diff ============================================================================== --- libs/gui/branches/gnustep_testplant_branch/Source/NSOutlineView.m (original) +++ libs/gui/branches/gnustep_testplant_branch/Source/NSOutlineView.m Tue Nov 15 19:50:44 2016 @@ -2317,8 +2317,15 @@ 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; } _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs