Unverified Commit a4fba1f4 authored by Michel Le Bihan's avatar Michel Le Bihan
Browse files

Change dataform to href markup URLs in fixed field

Closes #10445
parent dbda5c5c
Pipeline #7306 passed with stages
in 8 minutes and 21 seconds
......@@ -27,6 +27,7 @@
from .util import MultiLineLabel
from .util import MaxWidthComboBoxText
from .util import make_href_markup
# Options
......@@ -329,7 +330,7 @@ class FixedField(Field):
def __init__(self, field, form_grid, options):
Field.__init__(self, field, form_grid, options)
self._label.set_text(field.value)
self._label.set_markup(make_href_markup(field.value))
# If the value is more than 40 chars it proabably isn’t
# meant as a section header
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment