From 5c57814f95e73a63e012479651b919fdc4099f53 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 2 May 2007 13:02:21 +0000 Subject: [PATCH] convert space to gapchar --- src/jalview/appletgui/APopupMenu.java | 2 +- src/jalview/gui/PopupMenu.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index 300eb94..803f323 100755 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -348,7 +348,7 @@ public class APopupMenu { EditCommand editCommand = new EditCommand( "Edit Sequences", EditCommand.REPLACE, - dialog.getName(), + dialog.getName().replace(' ', ap.av.getGapCharacter()), sg.getSequencesAsArray(ap.av.hiddenRepSequences), sg.getStartRes(), sg.getEndRes()+1, ap.av.alignment ); diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 2cd6ce5..fab9007 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -1469,7 +1469,7 @@ public class PopupMenu { EditCommand editCommand = new EditCommand( "Edit Sequences", EditCommand.REPLACE, - dialog.getName(), + dialog.getName().replace(' ', ap.av.getGapCharacter()), sg.getSequencesAsArray(ap.av.hiddenRepSequences), sg.getStartRes(), sg.getEndRes() + 1, ap.av.alignment ); -- 1.7.10.2