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:
3402d06
)
Runs if no files to open and -nodisplay is not used
author
amwaterhouse
<Andrew Waterhouse>
Thu, 7 Jul 2005 10:22:50 +0000
(10:22 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 7 Jul 2005 10:22:50 +0000
(10:22 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
f05b394
..
395875c
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-132,10
+132,12
@@
public class Jalview
\r
}
\r
\r
+ if (!aparser.contains("nodisplay"))
\r
+ desktop.setVisible(true);
\r
\r
file = aparser.getValue("open");
\r
\r
- if (file == null)
\r
+ if (file == null && !desktop.isVisible())
\r
{
\r
System.out.println("No files to open!");
\r
System.exit(1);
\r
@@
-149,9
+151,6
@@
public class Jalview
}
\r
}
\r
\r
- if (!aparser.contains("nodisplay"))
\r
- desktop.setVisible(true);
\r
-
\r
protocol = "File";
\r
\r
if (file.indexOf("http:") > -1)
\r