mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-07-04 23:15:33 +02:00
Fix confirmation dialog yes/no
This commit is contained in:
parent
2de16e4264
commit
ad9728af28
|
@ -54,7 +54,7 @@ public class NitroHttpProxy {
|
||||||
ButtonType.YES, ButtonType.NO
|
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();
|
waitForDialog.release();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user