git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Watch out for - symbol lin jnet files
[jalview.git]
/
src
/
jalview
/
io
/
FileLoader.java
diff --git
a/src/jalview/io/FileLoader.java
b/src/jalview/io/FileLoader.java
index
0897207
..
c662ccf
100755
(executable)
--- a/
src/jalview/io/FileLoader.java
+++ b/
src/jalview/io/FileLoader.java
@@
-174,8
+174,10
@@
public class FileLoader implements Runnable
alignFrame = new AlignFrame(al,
\r
AlignFrame.DEFAULT_WIDTH,
\r
AlignFrame.DEFAULT_HEIGHT);
\r
alignFrame = new AlignFrame(al,
\r
AlignFrame.DEFAULT_WIDTH,
\r
AlignFrame.DEFAULT_HEIGHT);
\r
- alignFrame.currentFileFormat = format;
\r
+
\r
alignFrame.statusBar.setText("Successfully loaded file " + file);
\r
alignFrame.statusBar.setText("Successfully loaded file " + file);
\r
+ alignFrame.setFileName(file, format);
\r
+
\r
\r
Desktop.addInternalFrame(alignFrame, file,
\r
AlignFrame.DEFAULT_WIDTH,
\r
\r
Desktop.addInternalFrame(alignFrame, file,
\r
AlignFrame.DEFAULT_WIDTH,
\r
@@
-212,12
+214,8
@@
public class FileLoader implements Runnable
}
\r
}
\r
\r
}
\r
}
\r
\r
- if (alignFrame != null)
\r
- {
\r
- alignFrame.fileName = file;
\r
- alignFrame.currentFileFormat = format;
\r
updateRecentlyOpened();
\r
updateRecentlyOpened();
\r
- }
\r
+
\r
}
\r
catch (OutOfMemoryError er)
\r
{
\r
}
\r
catch (OutOfMemoryError er)
\r
{
\r