qt5: Fix crash when adding Highlight Annotations
2 files changed