From: <gil...@us...> - 2009-03-16 15:39:44
|
Revision: 14498 http://cdk.svn.sourceforge.net/cdk/?rev=14498&view=rev Author: gilleain Date: 2009-03-16 15:39:33 +0000 (Mon, 16 Mar 2009) Log Message: ----------- Fixed bug to select all introduced by previous commit. Modified Paths: -------------- jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java Modified: jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java =================================================================== --- jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java 2009-03-16 15:17:54 UTC (rev 14497) +++ jchempaint/trunk/src/main/org/openscience/jchempaint/action/CopyPasteAction.java 2009-03-16 15:39:33 UTC (rev 14498) @@ -258,9 +258,7 @@ IChemObjectSelection allSelection = new LogicalSelection(LogicalSelection.Type.ALL); - // FIXME : selection design needs improvement! - hub.select((IncrementalSelection) allSelection); - + allSelection.select(hub.getIChemModel()); renderModel.setSelection(allSelection); jcpPanel.setMoveAction(); hub.setActiveDrawModule(new MoveModule(hub)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |