fix a bug
This commit is contained in:
parent
9dde887870
commit
60ae2e2ef7
|
@ -2,6 +2,7 @@ package org.cutem.cutecalendar.presenter;
|
|||
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.ChoiceBox;
|
||||
import javafx.scene.layout.VBox;
|
||||
|
@ -72,6 +73,7 @@ public class NewTodoItemStrategy extends VBox {
|
|||
|
||||
public void setStage(Stage stage) {
|
||||
mNewItemStage = stage;
|
||||
mNewItemStage.setScene(new Scene(this));
|
||||
}
|
||||
|
||||
public void addFactory(@NotNull NewItemBuilder.IFactory factory) {
|
||||
|
|
Loading…
Reference in New Issue