value_tree_translator: add toolTip
This commit is contained in:
@@ -72,7 +72,7 @@ const PIString contextName = "QAD::PIValueTreeEdit";
|
|||||||
|
|
||||||
|
|
||||||
void gatherStrings(TSFile::Context & context, const PIValueTree & vt, const PIString & loc) {
|
void gatherStrings(TSFile::Context & context, const PIValueTree & vt, const PIString & loc) {
|
||||||
const static PIStringList attrs({Attribute::prefix, Attribute::suffix});
|
const static PIStringList attrs({Attribute::prefix, Attribute::suffix, Attribute::toolTip});
|
||||||
for (const auto & c: vt.children()) {
|
for (const auto & c: vt.children()) {
|
||||||
context.confirm(c.name(), loc);
|
context.confirm(c.name(), loc);
|
||||||
context.confirm(c.comment(), loc);
|
context.confirm(c.comment(), loc);
|
||||||
|
|||||||
Reference in New Issue
Block a user