Fixed accidental reset of ``PlaybackParameterDialog`` on initialization
This commit is contained in:
parent
0fef4e6e2e
commit
c2bf7f09ce
|
@ -213,7 +213,7 @@ public class PlaybackParameterDialog extends DialogFragment {
|
||||||
|
|
||||||
getPitchControlModeComponentMappings()
|
getPitchControlModeComponentMappings()
|
||||||
.forEach(this::setupPitchControlModeTextView);
|
.forEach(this::setupPitchControlModeTextView);
|
||||||
changePitchControlMode(isCurrentPitchControlModeSemitone());
|
// Initialization is done at the end
|
||||||
|
|
||||||
// Pitch - Percent
|
// Pitch - Percent
|
||||||
setText(binding.pitchPercentMinimumText, PlayerHelper::formatPitch, MIN_PITCH_OR_SPEED);
|
setText(binding.pitchPercentMinimumText, PlayerHelper::formatPitch, MIN_PITCH_OR_SPEED);
|
||||||
|
@ -275,6 +275,9 @@ public class PlaybackParameterDialog extends DialogFragment {
|
||||||
skipSilence = isChecked;
|
skipSilence = isChecked;
|
||||||
updateCallback();
|
updateCallback();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// PitchControlMode has to be initialized at the end because it requires the unhookCheckbox
|
||||||
|
changePitchControlMode(isCurrentPitchControlModeSemitone());
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- General formatting --
|
// -- General formatting --
|
||||||
|
|
Loading…
Reference in New Issue