Commit 3bd210f1 authored by Méven Car's avatar Méven Car
Browse files

[KCM/Component] Fix CfgFileManager::isDefaults

Summary: The first RadioButtons in the radioLayout is the last in mDynamicRadioButtons

Test Plan: Defaults work as expected

Reviewers: ervin, #plasma

Reviewed By: ervin

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26322
parent ec0e1847
......@@ -53,7 +53,7 @@ void CfgFileManager::defaults()
bool CfgFileManager::isDefaults() const
{
if (!mDynamicRadioButtons.isEmpty()) {
return !mDynamicRadioButtons.first()->isChecked();
return !mDynamicRadioButtons.last()->isChecked();
} else {
return false;
}
......
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