Skip to content
Snippets Groups Projects
Commit b57abec5 authored by Michel Le Bihan's avatar Michel Le Bihan Committed by Philipp Hörist
Browse files

Change dataform to href markup URLs in fixed field

Closes #10445
parent ee9d2f67
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
from .util import MultiLineLabel from .util import MultiLineLabel
from .util import MaxWidthComboBoxText from .util import MaxWidthComboBoxText
from .util import make_href_markup
# Options # Options
...@@ -329,7 +330,7 @@ class FixedField(Field): ...@@ -329,7 +330,7 @@ class FixedField(Field):
def __init__(self, field, form_grid, options): def __init__(self, field, form_grid, options):
Field.__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 # If the value is more than 40 chars it proabably isn’t
# meant as a section header # meant as a section header
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment