Skip to content
This repository was archived by the owner on Nov 26, 2019. It is now read-only.

Commit e361466

Browse files
committed
# Fix build
1 parent 0b8d197 commit e361466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/main/java/com/msc/serverbrowser/Client.java

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import javafx.beans.property.SimpleBooleanProperty;
4343
import javafx.scene.Node;
4444
import javafx.scene.Scene;
45-
import javafx.scene.control.Alert;
45+
import javafx.scene.control.Dialog;
4646
import javafx.scene.control.TextField;
4747
import javafx.scene.image.Image;
4848
import javafx.stage.Stage;
@@ -115,7 +115,7 @@ else if (ClientPropertiesController.getPropertyAsBoolean(Property.AUTOMTAIC_UPDA
115115
* @param alert
116116
* the alert to set the owner in
117117
*/
118-
public static void insertAlertOwner(final Alert alert) {
118+
public static void insertAlertOwner(final Dialog<?> alert) {
119119
alert.initOwner(getInstance().stage);
120120
}
121121

0 commit comments

Comments
 (0)