File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44}
55
66group ' pekaeds'
7- version ' 0.21 -beta'
7+ version ' 0.22 -beta'
88
99repositories {
1010 mavenCentral()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11package pekaeds .data ;
22
33public class PekaEDSVersion {
4- public static final String VERSION_STRING = "0.21 beta" ;
4+ public static final String VERSION_STRING = "0.22 beta" ;
55}
Original file line number Diff line number Diff line change 1111
1212import org .tinylog .Logger ;
1313
14- import pekaeds .data .EditorConstants ;
1514import pekaeds .data .Layer ;
1615import pekaeds .data .PekaEDSVersion ;
1716import pekaeds .tool .*;
4443import pk2 .util .LevelTestingUtil ;
4544
4645public class PekaEDSGUI implements ChangeListener , IPekaEdsApp {
47- //private ChangeEvent changeEvent = new ChangeEvent(this);
46+
47+ private static final String LAST_SESSION_FILE = "last.session" ;
4848
4949 private PekaEDSGUIView view ;
5050 private PekaEDSGUIModel model ;
@@ -112,7 +112,7 @@ void showEditor() {
112112 }
113113
114114 private void handleStartup () {
115- var fLastSession = FHSHelper .getPrefPath (EditorConstants . LAST_SESSION_FILE );
115+ var fLastSession = FHSHelper .getPrefPath (LAST_SESSION_FILE );
116116 if (fLastSession .exists ()) {
117117 try {
118118 Logger .info ("Trying to load last.session..." );
@@ -505,7 +505,7 @@ public boolean unsavedChangesPresent() {
505505 * This method gets called when the whole application shuts down.
506506 */
507507 public void close () {
508- session .save (FHSHelper .getPrefPath (EditorConstants . LAST_SESSION_FILE ));
508+ session .save (FHSHelper .getPrefPath (LAST_SESSION_FILE ));
509509
510510 System .exit (0 );
511511 }
You can’t perform that action at this time.
0 commit comments