Skip to content

Commit

Permalink
Preferences: only apply in slotApply()
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed May 29, 2024
1 parent db408f8 commit 8bb022e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/preferences/dialog/dlgprefcolors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ void DlgPrefColors::slotResetToDefaults() {
mixxx::PredefinedColorPalettes::kDefaultTrackColorPalette.size());
comboBoxLoopDefaultColor->setCurrentIndex(
mixxx::PredefinedColorPalettes::kDefaultTrackColorPalette.size() - 1);
slotApply();
}

// Apply and save any changes made in the dialog
Expand Down
4 changes: 1 addition & 3 deletions src/preferences/dialog/dlgprefkey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,7 @@ void DlgPrefKey::slotResetToDefaults() {
radioNotationOpenKey->setChecked(true);
notation_type = KeyUtils::KeyNotation::OpenKey;
}
setNotation(notation_type);

slotUpdate();
setNotation(notation_type); // calls slotUpdate()
}

void DlgPrefKey::pluginSelected(int i) {
Expand Down
1 change: 0 additions & 1 deletion src/preferences/dialog/dlgprefmixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ void DlgPrefMixer::slotResetToDefaults() {

setDefaultShelves();
comboBoxMainEq->setCurrentIndex(0); // '---' no EQ
slotApply();
}

void DlgPrefMixer::slotEQEffectSelectionChanged(int effectIndex) {
Expand Down

0 comments on commit 8bb022e

Please sign in to comment.