Fix update of the preset editor GUI when a default preset is created
ClosedPublic

Authored by dkazakov on Apr 9 2018, 11:56 AM.

Details

Summary

Before the patch, preset editor's GUI was set to the previous
paintop type, which was incorrect. I'm not entirely sure that
this fix is correct, so putting it for review.

CCBUG:392869

Test Plan
  1. Press "New default preset"
  2. See that the GUI updated correctly

Questions:

  1. Is it really default preset got loaded? Or something else?

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dkazakov requested review of this revision.Apr 9 2018, 11:56 AM
dkazakov created this revision.
scottpetrovic accepted this revision.Apr 9 2018, 1:47 PM

Looks good to me. I was sure that was working when Wolthera originally added that. Something must have gotten messed up with a merge or something. Thanks for the patch. Push it!

This revision is now accepted and ready to land.Apr 9 2018, 1:47 PM
This revision was automatically updated to reflect the committed changes.