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:
7d26c9b
)
JAL-3144 better error message if no database selected
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 Jul 2019 10:47:26 +0000
(11:47 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 Jul 2019 10:47:26 +0000
(11:47 +0100)
src/jalview/gui/SequenceFetcher.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SequenceFetcher.java
b/src/jalview/gui/SequenceFetcher.java
index
646a7f1
..
8b5d3b7
100755
(executable)
--- a/
src/jalview/gui/SequenceFetcher.java
+++ b/
src/jalview/gui/SequenceFetcher.java
@@
-436,6
+436,14
@@
public class SequenceFetcher extends JPanel implements Runnable
resetDialog();
return;
}
+ if (database.getSelectedIndex() == 0)
+ {
+ // todo i18n
+ showErrorMessage("Please choose a database");
+ resetDialog();
+ return;
+ }
+
exampleBtn.setEnabled(false);
textArea.setEnabled(false);
okBtn.setEnabled(false);