Skip to content
Snippets Groups Projects
Commit 5a6a5ab2 authored by tjc's avatar tjc
Browse files

fix for checkForSelectionFeatureSegments

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5321 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 063e66d7
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/SelectionMenu.java,v 1.4 2006-01-17 17:46:18 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/SelectionMenu.java,v 1.5 2007-02-06 08:50:10 tjc Exp $
*/
package uk.ac.sanger.artemis.components;
......@@ -39,12 +39,15 @@ import java.util.Vector;
* getParentFrame() to find the owning JFrame of the menu.
*
* @author Kim Rutherford
* @version $Id: SelectionMenu.java,v 1.4 2006-01-17 17:46:18 tjc Exp $
* @version $Id: SelectionMenu.java,v 1.5 2007-02-06 08:50:10 tjc Exp $
**/
public class SelectionMenu extends JMenu
{
/** */
private static final long serialVersionUID = 1L;
/** The Selection that was passed to the constructor. */
/* final */ private Selection selection;
......@@ -224,7 +227,7 @@ public class SelectionMenu extends JMenu
final String message)
{
final FeatureSegmentVector segments_to_check =
getSelection().getSelectedSegments();
getSelection().getAllSegments();
if(segments_to_check.size() == 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment