Fix crash in Overview docker in case of empty canvas
Before this crash, Overview docker would use its canvas in case of rotation without checking if the canvas exist. This patch fixes it by adding additional checks and returning from the function in case of empty canvas. Supposedly "it happens because when the canvas is deleted, canvasOffsetXChanged is emitted".
Showing with 2 additions and 0 deletions