Diffusion Krita 0d2f1d16e187

Do not create the move tool option widget twice

Authored by rempt on Jan 15 2019, 1:49 PM.

Description

Do not create the move tool option widget twice

Flake first activates a tool, then asks it to create its option
widget(s). However, the move tool needs to have the option widget
created when it's activated, so create the option widget in the
constructor of the move tool.

This also incidentally fixes the problems with actions only being
executed after changing the current node having used the move tool.

BUG:403048

Details

Committed
remptJan 15 2019, 1:49 PM
Parents
R37:eee6d7d27d10: Do not create the tool option widgets if they have already been created
Branches
Unknown
Tags
Unknown