File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/de/doubleslash/keeptime/view Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2323import java .nio .file .Paths ;
2424import java .sql .SQLException ;
2525
26+ import javafx .application .Platform ;
2627import javafx .scene .control .*;
2728import org .h2 .tools .RunScript ;
2829import org .h2 .tools .Script ;
@@ -274,9 +275,10 @@ private void initImportButton(){
274275 Alert informationDialog = new Alert (AlertType .INFORMATION );
275276 informationDialog .setTitle ("Import done" );
276277 informationDialog .setHeaderText ("The data was imported." );
277- informationDialog .setContentText ("You have to RESTART KeepTime to see the changes" );
278+ informationDialog .setContentText ("KeepTime will now be CLOSED! You have to RESTART it again to see the changes" );
278279 informationDialog .showAndWait ();
279280
281+ Platform .exit ();
280282 } catch (SQLException e ) {
281283 LOG .error ("Could not import script file to db." , e );
282284
You can’t perform that action at this time.
0 commit comments