[kcmkwin] Actually save effect settings
As part of an effort to unify effect KCM logic, code that actually saves effect settings unfortunately got lost. Sorry for that.
This commit is contained in:
parent
21a62f0b38
commit
dd8a0407ca
1 changed files with 3 additions and 1 deletions
|
@ -652,7 +652,9 @@ void EffectsModel::requestConfigure(const QModelIndex &index, QWindow *transient
|
|||
layout->addWidget(module);
|
||||
layout->addWidget(buttons);
|
||||
|
||||
dialog->exec();
|
||||
if (dialog->exec() == QDialog::Accepted) {
|
||||
module->save();
|
||||
}
|
||||
|
||||
delete dialog;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue