Skip to content
Permalink
Browse files
Merge pull request #11579 from Pokechu22/audio-stretching-label-enable
AudioPane: Fix inconsistent initial state of audio stretching labels
  • Loading branch information
AdmiralCurtiss committed Feb 18, 2023
2 parents 74abf48 + c94aacc commit dfc0f12
Showing 1 changed file with 2 additions and 0 deletions.
@@ -247,8 +247,10 @@ void AudioPane::LoadSettings()

// Stretch
m_stretching_enable->setChecked(Config::Get(Config::MAIN_AUDIO_STRETCH));
m_stretching_buffer_label->setEnabled(m_stretching_enable->isChecked());
m_stretching_buffer_slider->setValue(Config::Get(Config::MAIN_AUDIO_STRETCH_LATENCY));
m_stretching_buffer_slider->setEnabled(m_stretching_enable->isChecked());
m_stretching_buffer_indicator->setEnabled(m_stretching_enable->isChecked());
m_stretching_buffer_indicator->setText(tr("%1 ms").arg(m_stretching_buffer_slider->value()));

#ifdef _WIN32

0 comments on commit dfc0f12

Please sign in to comment.