Attempt onClick fix

This commit is contained in:
WiredSpast 2023-04-04 03:40:02 +02:00 committed by GitHub
parent ee73ae1d41
commit 22f648ec6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ public abstract class ExtensionForm extends ExtensionBase {
/** /**
* The application got doubleclicked from the G-Earth interface. Doing something here is optional * The application got doubleclicked from the G-Earth interface. Doing something here is optional
*/ */
public void onClick(){ public final void onClick(){
Platform.runLater(() -> { Platform.runLater(() -> {
primaryStage.show(); primaryStage.show();
primaryStage.requestFocus(); primaryStage.requestFocus();