From b655b29fc854b5f5320a44599123b87794ac885f Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Mon, 13 Nov 2017 14:49:15 +0000 Subject: [PATCH] JAL-1953 undid commenting out of message panels, should be more elegant --- .../org/forester/archaeopteryx/MainFrameApplication.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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(); } } ); -- 1.7.10.2