Commit 3e90b446 authored by Andras Mantia's avatar Andras Mantia

Don't lose the widget layout after Default is pressed

Summary: BUG: 400302

Reviewers: dvratil, #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18121
parent 32e95fad
......@@ -88,6 +88,8 @@ void KCMKScreen::configReady(ConfigOperation* op)
mMainLayout->addWidget(mKScreenWidget);
QObject::connect(mKScreenWidget, &Widget::changed,
this, &KCMKScreen::changed);
} else {
mMainLayout->addWidget(mKScreenWidget);
}
mKScreenWidget->setConfig(qobject_cast<GetConfigOperation*>(op)->config());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment