Annotation: Block adding comment to an annotation shape

Authored by danders on Oct 16 2018, 10:56 AM.

Description

Annotation: Block adding comment to an annotation shape

Summary:
To reproduce crash:

  1. Add a text shape
  2. Add an annotation shape
  3. Activate the annotation shape
  4. Select the Shape Handling tool
  5. Select both shapes; first annotation shape then the text shape
  6. Select the text tool: The caret should now be in the annotation tool
  7. Hit CTRL-SHIFT C to add a comment -> crash

TODO: Find out why disabling insert_annotation action is not working

Closes T4902

Reviewers: boemann, anthonyfieroni

Subscribers: Calligra-Devel-list

Tags: #calligra:_3.0

Maniphest Tasks: T4902

Differential Revision: https://phabricator.kde.org/D16127