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 2
2
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3
3
4
4
#define MyAppName " blobsaver"
5
- #define MyAppVersion " 2.5.0 "
5
+ #define MyAppVersion " 2.5.2 "
6
6
#define MyAppPublisher " airsquared"
7
7
#define MyAppURL " https://www.github.com/airsquared/blobsaver"
8
8
#define MyAppExeName " blobsaver.exe"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ sourceCompatibility = 1.8
32
32
* - Main.java
33
33
* - blobsaver.iss
34
34
*/
35
- String appVersion = " v2.5.0 " ;
35
+ String appVersion = " v2.5.2 "
36
36
37
37
repositories {
38
38
mavenCentral()
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ private void savePreset(int preset) {
385
385
textInputDialog .showAndWait ();
386
386
387
387
String result = textInputDialog .getResult ();
388
- if (Shared .isEmptyOrNull (result )) {
388
+ if (! Shared .isEmptyOrNull (result )) {
389
389
appPrefs .put ("Name Preset" + preset , textInputDialog .getResult ());
390
390
((Button ) primaryStage .getScene ().lookup ("#preset" + preset )).setText ("Save in " + textInputDialog .getResult ());
391
391
} else {
@@ -706,7 +706,7 @@ public void chooseTimeToRunHandler() {
706
706
hBox .getChildren ().addAll (textField , choiceBox );
707
707
alert .getDialogPane ().setContent (hBox );
708
708
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 ())) {
710
710
appPrefs .putInt ("Time to run" , Integer .parseInt (textField .getText ()));
711
711
appPrefs .put ("Time unit for background" , choiceBox .getValue ());
712
712
} else {
Original file line number Diff line number Diff line change 38
38
39
39
public class Main {
40
40
41
- static final String appVersion = "v2.5.0 " ;
41
+ static final String appVersion = "v2.5.2 " ;
42
42
static final Preferences appPrefs = Preferences .userRoot ().node ("airsquared/blobsaver/prefs" );
43
43
static Stage primaryStage ;
44
44
static final File jarDirectory ;
You can’t perform that action at this time.
0 commit comments