From dc48615e51155a0b48a6e090512c5b770951e56f Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 18 Feb 2009 13:55:24 +0000 Subject: [PATCH] do not dispose add mote dialog if positioner fails, simply abort --- tools/cooja/java/se/sics/cooja/dialogs/AddMoteDialog.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/cooja/java/se/sics/cooja/dialogs/AddMoteDialog.java b/tools/cooja/java/se/sics/cooja/dialogs/AddMoteDialog.java index 0cad5a35f..6ac6d6708 100644 --- a/tools/cooja/java/se/sics/cooja/dialogs/AddMoteDialog.java +++ b/tools/cooja/java/se/sics/cooja/dialogs/AddMoteDialog.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: AddMoteDialog.java,v 1.5 2008/02/12 15:05:14 fros4943 Exp $ + * $Id: AddMoteDialog.java,v 1.6 2009/02/18 13:55:24 fros4943 Exp $ */ package se.sics.cooja.dialogs; @@ -478,7 +478,6 @@ public class AddMoteDialog extends JDialog { if (positioner == null) { logger.fatal("Could not create positioner"); - dispose(); return; }