I think is better retain first function and add a item switch for text
On Sun, 2017-06-25 at 13:44 +0200, Michael Soegtrop via Inkscape-devel wrote:
Dear Inkscape Team,
I solved the issue with getFirstObjectID by replacing it with getShapeOrTextObjectId in ItemParam::on_link_button_click(). This works as expected. I think ClipboardManagerImpl::getFirstObjectID should be removed. It is only used in one other place (ObjectSet::relink()) and likely doesn't do much good there either.
Best regards,
Michael
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel