Skip to content
Snippets Groups Projects
Commit b0750140 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Make cue in value input accepting double

parent 90675563
Branches
Tags
No related merge requests found
......@@ -83,7 +83,7 @@ public class PlayerPadTabViewController extends PadSettingsTabViewController {
cueInTextField.pseudoClassStateChanged(PseudoClasses.ERROR_CLASS, false);
} else {
try {
final int seconds = Integer.parseInt(newValue);
final double seconds = Double.parseDouble(newValue);
padSettings.setCueIn(Duration.seconds(seconds));
cueInTextField.pseudoClassStateChanged(PseudoClasses.ERROR_CLASS, false);
......@@ -118,7 +118,7 @@ public class PlayerPadTabViewController extends PadSettingsTabViewController {
final Duration cueIn = padSettings.getCueIn();
if (cueIn != null) {
cueInTextField.setText(String.valueOf((int) cueIn.toSeconds()));
cueInTextField.setText(String.valueOf(cueIn.toSeconds()));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment