Merge pull request #1171 from ispyisail/fix/template-placed-under-cursor

Fix templates landing far from the cursor
This commit is contained in:
ispyisail
2026-09-30 14:57:13 +13:00
committed by GitHub
6 changed files with 44 additions and 3 deletions
+4
View File
@@ -2088,6 +2088,10 @@ void DiagramView::createTemplateFromSelection()
file.close();
qDebug() << "Template successfully saved to:" << full_path;
// List it right away, not only after the collections are reloaded
for (QETDiagramEditor *qde : QETApp::diagramEditors())
qde->templateSaved(template_location);
QMessageBox::information(this, tr("Modèle enregistré"),
tr("Le modèle a été enregistré avec succès sous :\n%1").arg(full_path));
} else {