Changeset View
Changeset View
Standalone View
Standalone View
src/utils/katetemplatehandler.cpp
Context not available. | |||||
549 | // only editable fields are of interest to the scripts | 549 | // only editable fields are of interest to the scripts | ||
---|---|---|---|---|---|
550 | continue; | 550 | continue; | ||
551 | } | 551 | } | ||
552 | map.insert(field.identifier, QScriptValue(doc()->text(field.range->toRange()))); | 552 | QString text = doc()->text(field.range->toRange()); | ||
553 | map.insert(field.identifier, QJSValue(text)); | ||||
553 | } | 554 | } | ||
554 | return map; | 555 | return map; | ||
555 | } | 556 | } | ||
Context not available. |