Skip to content
Snippets Groups Projects
Commit 9b90dea6 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed bug that prevents the new/edit category stage from closing

parent 674c286e
Branches
Tags
1 merge request!213merge v1_6_0 into master
......@@ -33,6 +33,7 @@ public class NewCategoryController extends BaseController implements Styleable
@FXML private Button buttonCancel;
@FXML private Button buttonSave;
@SuppressWarnings("unused")
private Stage parentStage;
private Controller controller;
private CategoryController categoryController;
......@@ -198,7 +199,7 @@ public class NewCategoryController extends BaseController implements Styleable
public void cancel()
{
parentStage.close();
getStage().close();
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment