Skip to content

Correctly reset croptype to valid value.

Daniel Doran requested to merge giantblargg/krita:canvas_crop_typo into master

In my previous merge I typo-ed || instead of &&. This caused croptype to always be reset to image when selecting a vector layer, but if croptype was canvas it shouldn't be reset.

See !800 (comment 220683)

I also noticed that croptype was not reset properly when opening the crop tool while a vector layer is selected, So I added that too.

Edited by Daniel Doran

Merge request reports

Loading