[TD]show autofill value in dialog

This commit is contained in:
wandererfan
2024-06-28 20:23:33 -04:00
committed by WandererFan
parent 1bef9a7e76
commit 50eb2b5513
7 changed files with 36 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ void DrawSVGTemplate::onChanged(const App::Property* prop)
replaceFileIncluded(Template.getValue());
EditableTexts.setValues(getEditableTextsFromTemplate());
QDomDocument templateDocument;
if (getTemplateDocument(Template.getValue(), templateDocument)) {
if (getTemplateDocument(PageResult.getValue(), templateDocument)) {
extractTemplateAttributes(templateDocument);
}
}
@@ -251,7 +251,7 @@ std::map<std::string, std::string> DrawSVGTemplate::getEditableTextsFromTemplate
std::map<std::string, std::string> editables;
QDomDocument templateDocument;
if (!getTemplateDocument(Template.getValue(), templateDocument)) {
if (!getTemplateDocument(PageResult.getValue(), templateDocument)) {
return editables;
}
@@ -294,7 +294,7 @@ QString DrawSVGTemplate::getAutofillByEditableName(QString nameToMatch)
QString nameCapture{nameToMatch};
QDomDocument templateDocument;
if (!getTemplateDocument(Template.getValue(), templateDocument)) {
if (!getTemplateDocument(PageResult.getValue(), templateDocument)) {
return {};
}