fix CLineEdit read-only button

PIValueTreeEdit support PIValueTree::Attribute::toolTip
This commit is contained in:
2023-09-13 10:33:52 +03:00
parent c23c8703a4
commit 1a2f5ceefc
5 changed files with 41 additions and 13 deletions

View File

@@ -608,6 +608,7 @@ void PIValueTreeEdit::applyVariantEdit(PIVariantEdit * ve, const PIValueTree & v
ve->setAttributes(attributesWithRO(vt.attributes()));
ve->setValue(vt.value());
ve->setFullEditMode(is_full_edit);
ve->setToolTip(PI2QString(vt.attribute(PIValueTree::Attribute::toolTip).toString()));
}