From 816679e1420394cad55c984d44f0a604d3b1d54f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 15 Nov 2015 14:45:40 +0000 Subject: [PATCH] * fix keyboard focus regression --- source/net/filebot/ui/GettingStartedStage.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/net/filebot/ui/GettingStartedStage.java b/source/net/filebot/ui/GettingStartedStage.java index d802a3ec..c3e8f50e 100644 --- a/source/net/filebot/ui/GettingStartedStage.java +++ b/source/net/filebot/ui/GettingStartedStage.java @@ -72,6 +72,8 @@ public class GettingStartedStage { webview.getEngine().getLoadWorker().stateProperty().addListener((v, o, n) -> { if (n == Worker.State.SUCCEEDED) { stage.setTitle(webview.getEngine().getTitle()); + stage.toFront(); + webview.requestFocus(); } else if (n == Worker.State.FAILED) { stage.close(); }