(ui): show distances button in OgreViewer bugs
Summary
After a few precise steps, the Show/hide distances
button in OgreViewer needs to be clicked twice to work.
Steps to reproduce
- Launch OgreViewer and load an image.
- Click on the button to hide the distances.
- Add a new distance
- Click to show the distances again: you will need to click twice.