Commit 2c59c4b1 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Ensure created resources reconfigure with up-to-date stored config

parent 41a1b7ec
Pipeline #74558 passed with stage
in 6 minutes and 7 seconds
......@@ -116,6 +116,11 @@ QString CreateResource::createResource(const QString &resources, const QString &
return QString();
}
}
QDBusReply<void> reply = iface.call(QStringLiteral("save"));
if (!reply.isValid()) {
Q_EMIT createResourceError(i18n("Could not save settings: %1", reply.error().message()));
return QString();
}
instance.reconfigure();
if (synchronizeTree) {
instance.synchronizeCollectionTree();
......
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