diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-14 13:16:44 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-14 13:16:44 +0200 |
commit | 4fdd680b4b9a22c35fdaac17869355d5412b2684 (patch) | |
tree | 1b3fcb29c617f1f353d1deac19351377a533b83c /src/controllers/dlgprefcontroller.cpp | |
parent | 1a778536deffaf013da7e918b52ab868d1f1a491 (diff) |
controllers/dlgprefcontroller: Implement slotResetToDefaults
Diffstat (limited to 'src/controllers/dlgprefcontroller.cpp')
-rw-r--r-- | src/controllers/dlgprefcontroller.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/controllers/dlgprefcontroller.cpp b/src/controllers/dlgprefcontroller.cpp index 4359f6f277..a720251062 100644 --- a/src/controllers/dlgprefcontroller.cpp +++ b/src/controllers/dlgprefcontroller.cpp @@ -371,6 +371,11 @@ void DlgPrefController::slotCancel() { slotUpdate(); } +void DlgPrefController::slotResetToDefaults() { + m_ui.chkEnabledDevice->setChecked(false); + enumeratePresets(QString()); +} + void DlgPrefController::applyPresetChanges() { if (m_pInputTableModel) { m_pInputTableModel->apply(); |