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 732aefbf authored by Laurent Montel's avatar Laurent Montel 😁

Call setReadOnly after loading data

parent 1daa7c6b
......@@ -141,11 +141,11 @@ void Akonadi::AkonadiContactEditor::Private::parentCollectionFetchDone(KJob *job
mReadOnly = !(parentCollection.rights() & Collection::CanChangeItem);
}
mEditorWidget->setReadOnly(mReadOnly);
const KContacts::Addressee addr = mItem.payload<KContacts::Addressee>();
mContactMetaData.load(mItem);
loadContact(addr, mContactMetaData);
mEditorWidget->setReadOnly(mReadOnly);
}
void Akonadi::AkonadiContactEditor::Private::storeDone(KJob *job)
......
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