[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:
Vlad Zagorodniy 2019-04-10 11:40:46 +03:00
parent 21a62f0b38
commit dd8a0407ca

View file

@ -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;
}