Skip to content

Commit

Permalink
Show restart warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Mar 2, 2025
1 parent 5e76c60 commit 4f2bd8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/modals/SetupDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ SetupDialog::SetupDialog(ConfigTab tab_to_open) :

setSampleRate(m_sampleRate);

connect(m_sampleRateSlider, &QSlider::valueChanged, this, &SetupDialog::showRestartWarning);

connect(m_sampleRateSlider, &QSlider::valueChanged, this,
[setSampleRate](int value) { setSampleRate(SUPPORTED_SAMPLERATES[value]); });

Expand Down

0 comments on commit 4f2bd8c

Please sign in to comment.