From ad9728af288554a713afd77db701a689308113f5 Mon Sep 17 00:00:00 2001 From: UnfamiliarLegacy <74633542+UnfamiliarLegacy@users.noreply.github.com> Date: Tue, 30 Nov 2021 20:43:48 +0100 Subject: [PATCH] Fix confirmation dialog yes/no --- .../protocol/connection/proxy/nitro/http/NitroHttpProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/http/NitroHttpProxy.java b/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/http/NitroHttpProxy.java index 544b2ba..cc897a6 100644 --- a/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/http/NitroHttpProxy.java +++ b/G-Earth/src/main/java/gearth/protocol/connection/proxy/nitro/http/NitroHttpProxy.java @@ -54,7 +54,7 @@ public class NitroHttpProxy { ButtonType.YES, ButtonType.NO ); - shouldInstall.set(!(alert.showAndWait().filter(t -> t == ButtonType.YES).isPresent())); + shouldInstall.set(alert.showAndWait().filter(t -> t == ButtonType.YES).isPresent()); waitForDialog.release(); });