Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c73bde47 authored by Laurent Montel's avatar Laurent Montel 😁

Avoid that we are able to change prefered status

parent 4cc49b4d
......@@ -49,6 +49,9 @@ PreferredLineEditWidget::~PreferredLineEditWidget()
void PreferredLineEditWidget::slotPreferredStatusChanged()
{
if (isReadOnly()) {
return;
}
mPreferred = !mPreferred;
updatePreferredIcon();
Q_EMIT preferredChanged(this);
......
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