File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
src/main/java/com/airsquared/blobsaver Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33
44#define MyAppName " blobsaver"
5- #define MyAppVersion " 2.5.0 "
5+ #define MyAppVersion " 2.5.2 "
66#define MyAppPublisher " airsquared"
77#define MyAppURL " https://www.github.com/airsquared/blobsaver"
88#define MyAppExeName " blobsaver.exe"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ sourceCompatibility = 1.8
3232 * - Main.java
3333 * - blobsaver.iss
3434 */
35- String appVersion = " v2.5.0 " ;
35+ String appVersion = " v2.5.2 "
3636
3737repositories {
3838 mavenCentral()
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ private void savePreset(int preset) {
385385 textInputDialog .showAndWait ();
386386
387387 String result = textInputDialog .getResult ();
388- if (Shared .isEmptyOrNull (result )) {
388+ if (! Shared .isEmptyOrNull (result )) {
389389 appPrefs .put ("Name Preset" + preset , textInputDialog .getResult ());
390390 ((Button ) primaryStage .getScene ().lookup ("#preset" + preset )).setText ("Save in " + textInputDialog .getResult ());
391391 } else {
@@ -706,7 +706,7 @@ public void chooseTimeToRunHandler() {
706706 hBox .getChildren ().addAll (textField , choiceBox );
707707 alert .getDialogPane ().setContent (hBox );
708708 alert .showAndWait ();
709- if ((alert .getResult () != null ) && !ButtonType .CANCEL .equals (alert .getResult ()) && !Shared .isEmptyOrNull (textField .getText ()) && Shared .isEmptyOrNull (choiceBox .getValue ())) {
709+ if ((alert .getResult () != null ) && !ButtonType .CANCEL .equals (alert .getResult ()) && !Shared .isEmptyOrNull (textField .getText ()) && ! Shared .isEmptyOrNull (choiceBox .getValue ())) {
710710 appPrefs .putInt ("Time to run" , Integer .parseInt (textField .getText ()));
711711 appPrefs .put ("Time unit for background" , choiceBox .getValue ());
712712 } else {
Original file line number Diff line number Diff line change 3838
3939public class Main {
4040
41- static final String appVersion = "v2.5.0 " ;
41+ static final String appVersion = "v2.5.2 " ;
4242 static final Preferences appPrefs = Preferences .userRoot ().node ("airsquared/blobsaver/prefs" );
4343 static Stage primaryStage ;
4444 static final File jarDirectory ;
You can’t perform that action at this time.
0 commit comments