[TD]show autofill value in dialog

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

View File

@@ -230,6 +230,8 @@ void QGISVGTemplate::createClickHandles()
textLength = std::max(charWidth, textLength);
auto item(new TemplateTextField(this, svgTemplate, name.toStdString()));
auto autoValue = svgTemplate->getAutofillByEditableName(name);
item->setAutofill(autoValue);
double pad = 1.0;
double top = Rez::guiX(-svgTemplate->getHeight()) + y - textHeight - pad;