Diffusion Krita e09e59548481

Remove double initialization of the inut manager on image creation

Authored by dkazakov on May 29 2020, 3:10 PM.

Description

Remove double initialization of the inut manager on image creation

The initialization in KisCanvas2::setCanvasWidget() was intended only
for the case when the canvas type is switched (opengl<->qpainter) and
it shouldn't trigger during normal canvas creation process.

This patch is too dangerous for 4.3.0 release, it should be pushed into
4.3 branch only for 4.3.1 release.

BUG:421518

Details

Committed
dkazakovMay 29 2020, 3:11 PM
Parents
R37:5aef0e99a7b6: Make sanity check in CanvasSwitcher less strict
Branches
Unknown
Tags
Unknown