mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
SeekBarPreference: ensure that the base class is called in onBindDialogView.
This commit is contained in:
@@ -116,6 +116,7 @@ public class SeekBarPreference extends DialogPreference implements SeekBar.OnSee
|
||||
|
||||
@Override
|
||||
protected void onBindDialogView(View view) {
|
||||
super.onBindDialogView(view);
|
||||
mSeekBar.setOnSeekBarChangeListener(this);
|
||||
mSeekBar.setMax(mMax - mMin);
|
||||
mSeekBar.setProgress(mProgress - mMin);
|
||||
|
||||
Reference in New Issue
Block a user