Error when changing font size in notes

Noticed that when in notes and a word is underlined by spell checker and you change the font size, a error message pops up.

554762: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File “/home/moorob/Gramps/gramps/gui/widgets/styledtexteditor.py”, line 1078, in
return lambda x: func(x, value)
^^^^^^^^^^^^^^
File “/home/moorob/Gramps/gramps/gui/widgets/styledtexteditor.py”, line 865, in _on_valueaction_changed
self.textbuffer.apply_style(style, value)
File “/home/moorob/Gramps/gramps/gui/widgets/styledtextbuffer.py”, line 690, in apply_style
self._apply_style_to_selection(style, value)
File “/home/moorob/Gramps/gramps/gui/widgets/styledtextbuffer.py”, line 483, in _apply_style_to_selection
self._remove_style_from_selection(style)
File “/home/moorob/Gramps/gramps/gui/widgets/styledtextbuffer.py”, line 495, in _remove_style_from_selection
if tag_name.startswith(str(style)):
^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘startswith’

You need to turn off spell check before making change and then you can turn it back on.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.