From: amwaterhouse Date: Wed, 2 May 2007 13:02:21 +0000 (+0000) Subject: convert space to gapchar X-Git-Tag: Release_2_3~79 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5c57814f95e73a63e012479651b919fdc4099f53;p=jalview.git convert space to gapchar --- 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 );