convert space to gapchar
authoramwaterhouse <Andrew Waterhouse>
Wed, 2 May 2007 13:02:21 +0000 (13:02 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 2 May 2007 13:02:21 +0000 (13:02 +0000)
src/jalview/appletgui/APopupMenu.java
src/jalview/gui/PopupMenu.java

index 300eb94..803f323 100755 (executable)
@@ -348,7 +348,7 @@ public class APopupMenu
         {\r
           EditCommand editCommand = new EditCommand(\r
               "Edit Sequences", EditCommand.REPLACE,\r
-              dialog.getName(),\r
+              dialog.getName().replace(' ', ap.av.getGapCharacter()),\r
               sg.getSequencesAsArray(ap.av.hiddenRepSequences),\r
               sg.getStartRes(), sg.getEndRes()+1, ap.av.alignment\r
               );\r
index 2cd6ce5..fab9007 100755 (executable)
@@ -1469,7 +1469,7 @@ public class PopupMenu
         {\r
           EditCommand editCommand = new EditCommand(\r
               "Edit Sequences", EditCommand.REPLACE,\r
-              dialog.getName(),\r
+              dialog.getName().replace(' ', ap.av.getGapCharacter()),\r
               sg.getSequencesAsArray(ap.av.hiddenRepSequences),\r
               sg.getStartRes(), sg.getEndRes() + 1, ap.av.alignment\r
               );\r