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:
6459342
)
JAL-1988 Don't put Quit in the File menu if there's a handler for it
author
Ben Soares
<b.soares@dundee.ac.uk>
Tue, 28 Jun 2022 12:31:55 +0000
(13:31 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Tue, 28 Jun 2022 12:31:55 +0000
(13:31 +0100)
src/jalview/jbgui/GDesktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/jbgui/GDesktop.java
b/src/jalview/jbgui/GDesktop.java
index
996cb1f
..
e046783
100755
(executable)
--- a/
src/jalview/jbgui/GDesktop.java
+++ b/
src/jalview/jbgui/GDesktop.java
@@
-404,7
+404,10
@@
public class GDesktop extends JFrame
FileMenu.add(saveAsState);
FileMenu.add(loadState);
FileMenu.addSeparator();
- FileMenu.add(quit);
+ if (!APQHandlers.setQuit)
+ {
+ FileMenu.add(quit);
+ }
if (!APQHandlers.setAbout)
{
HelpMenu.add(aboutMenuItem);