From: kjvdheide Date: Mon, 13 Nov 2017 14:49:15 +0000 (+0000) Subject: JAL-1953 undid commenting out of message panels, should be more elegant X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b655b29fc854b5f5320a44599123b87794ac885f;p=jalview.git JAL-1953 undid commenting out of message panels, should be more elegant --- diff --git a/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java b/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java index 2c9b585..9349f8c 100644 --- a/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java +++ b/forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java @@ -317,13 +317,13 @@ public final class MainFrameApplication extends MainFrame { return; } } -// else { -// final int r = JOptionPane -// .showConfirmDialog( null, "Exit Archaeopteryx?", "Exit?", JOptionPane.YES_NO_OPTION ); -// if ( r != JOptionPane.YES_OPTION ) { -// return; -// } -// } + else { + final int r = JOptionPane + .showConfirmDialog( null, "Exit Archaeopteryx?", "Exit?", JOptionPane.YES_NO_OPTION ); + if ( r != JOptionPane.YES_OPTION ) { + return; + } + } exit(); } } );