Diffusion Krita 6f3ea24f84e2

Fix page orientation switch in new image dialog

Authored by amedonosova on Apr 6 2019, 11:41 AM.

Description

Fix page orientation switch in new image dialog

Summary:
KisDoubleParseSpinBox does not update it's state while being edited (to
allow for the math formulas to work correctly). If the cursor is in the
number field while the user is changing page orientation, the focused
spinbox's value does not change. To work around that, this patch clears
focus on the width and height spinboxes before switching page
orientation.

BUG: 374493

Reviewers: Krita, rempt

Reviewed By: Krita, rempt

Tags: Krita

Differential Revision: https://phabricator.kde.org/D20300

Details

Committed
amedonosovaApr 6 2019, 2:44 PM
Reviewer
Krita
Differential Revision
D20300: Fix page orientation switch in new image dialog
Parents
R37:c5838c03b51f: Avoid error message for loading thumbnails/thumbnails.png
Branches
Unknown
Tags
Unknown