Fix bug with delay being allowed to be set to 0.
This commit is contained in:
parent
5a47dc01d7
commit
4468b9d327
Binary file not shown.
@ -350,7 +350,7 @@ public class SlideshowViewer {
|
|||||||
} catch (NumberFormatException ex) {
|
} catch (NumberFormatException ex) {
|
||||||
currentdelay = -1;
|
currentdelay = -1;
|
||||||
}
|
}
|
||||||
if (currentdelay>120 || currentdelay<0) {
|
if (currentdelay>120 || currentdelay<=0) {
|
||||||
currentdelay = 5;
|
currentdelay = 5;
|
||||||
delayAmtBox.setText(Integer.toString(currentdelay));
|
delayAmtBox.setText(Integer.toString(currentdelay));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user