Traceback when triple-click on a keyframe
Steps to reproduce:
- Create a new project
- Add a color clip
- Click it to select it
- Click the yellow keyframes line to create a keyframe
- Triple-click the keyframe, notice traceback:
Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/cbook/__init__.py", line 215, in process
func(*args, **kwargs)
File "/home/aleb/dev/pitivi/pitivi/pitivi/timeline/elements.py", line 314, in _mpl_button_press_event_cb
toplevel=True)
File "/home/aleb/dev/pitivi/pitivi/pitivi/undo/undo.py", line 219, in begin
raise UndoWrongStateError("Toplevel operation started as suboperation", self.stacks)
pitivi.undo.undo.UndoWrongStateError: ('Toplevel operation started as suboperation', [Move keyframe curve segment: []])
What should happen is for it to be deleted (double-click), and then recreated (single-click)?