diff --git a/sources/ui/configpage/configpages.cpp b/sources/ui/configpage/configpages.cpp index 1a01a343e..26711a18c 100644 --- a/sources/ui/configpage/configpages.cpp +++ b/sources/ui/configpage/configpages.cpp @@ -214,7 +214,11 @@ void NewDiagramPage::applyConf() rpw->toSettings(settings, "diagrameditor/defaultreport"); // default xref properties - QHash hash_xrp = xrefpw -> properties(); + const QHash hash_xrp = xrefpw->properties(); + for (auto it = hash_xrp.constBegin() ; it != hash_xrp.constEnd() ; ++it) { + it.value().toSettings(settings, + QStringLiteral("diagrameditor/defaultxref") % it.key()); + } // Global in QSettings speichern QList current_guides = m_gpw->guides();