Commit faef7d3c authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham
Browse files

Indicate that we need saving when background changes

BUG:432112
FIXED-IN:5.21


(cherry picked from commit c364382b)
parent 1229e086
......@@ -62,6 +62,10 @@ SddmKcm::SddmKcm(QObject *parent, const QVariantList &args)
m_themesModel->setCurrentTheme(m_data->sddmSettings()->current());
});
m_themesModel->setCurrentTheme(m_data->sddmSettings()->current());
// Currently only emmited when background changes
connect(m_themesModel, &QAbstractItemModel::dataChanged, this, [this] {
this->setNeedsSave(true);
});
}
SddmKcm::~SddmKcm()
......
Supports Markdown
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