git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e22e46
)
Cant save to a URL loaded Jar file
author
amwaterhouse
<Andrew Waterhouse>
Mon, 27 Nov 2006 16:23:46 +0000
(16:23 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 27 Nov 2006 16:23:46 +0000
(16:23 +0000)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
be428fe
..
f483d6f
100755
(executable)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-153,8
+153,7
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener
{
fileName = file;
currentFileFormat = format;
- if (!fileName.startsWith("http"))
- reload.setEnabled(true);
+ reload.setEnabled(true);
}
void addKeyListener()
@@
-619,7
+618,10
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener
public void save_actionPerformed(ActionEvent e)
{
- if(fileName==null || currentFileFormat==null)
+ if(fileName==null
+ || currentFileFormat==null
+ || fileName.startsWith("http")
+ )
saveAs_actionPerformed(null);
else
saveAlignment(fileName, currentFileFormat);