fix a bug

This commit is contained in:
hlq07 2018-05-29 00:13:24 +08:00
parent 9dde887870
commit 60ae2e2ef7
1 changed files with 2 additions and 0 deletions

View File

@ -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) {