From 80b49d5600f5e97b9ba38819bbd1d4cc615b2b7f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 2 Jul 2018 17:35:41 +0100 Subject: [PATCH] =?utf8?q?JAL-3048=20don=E2=80=99t=20execute=20dialog=20runn?= =?utf8?q?er=20after=20dialog=20shown=20in=20js?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/io/JalviewFileChooser.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/jalview/io/JalviewFileChooser.java b/src/jalview/io/JalviewFileChooser.java index cf72ffb..872e526 100755 --- a/src/jalview/io/JalviewFileChooser.java +++ b/src/jalview/io/JalviewFileChooser.java @@ -193,8 +193,14 @@ public class JalviewFileChooser extends JFileChooser public void openDialog(Component parent) { + runner.resetResponses(); int value = showOpenDialog(this); - runner.run(value); + /** + * @j2sNative + */ + { + runner.firstRun(value); + } } /** @@ -375,8 +381,12 @@ public class JalviewFileChooser extends JFileChooser saveparent = parent; int value = showDialog(parent, MessageManager.getString("action.save")); - - runner.run(value); + /** + * @j2sNative + */ + { + runner.firstRun(value); + } return value; } -- 1.7.10.2