Fix page orientation switch in new image dialog
ClosedPublic

Authored by amedonosova on Apr 6 2019, 12:11 PM.

Details

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

Diff Detail

Repository
R37 Krita
Branch
amedonosova/bug374493
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10510
Build 10528: arc lint + arc unit
amedonosova created this revision.Apr 6 2019, 12:11 PM
Restricted Application added a reviewer: Krita. · View Herald TranscriptApr 6 2019, 12:11 PM
Restricted Application added a project: Krita. · View Herald Transcript
amedonosova requested review of this revision.Apr 6 2019, 12:11 PM
rempt accepted this revision.Apr 6 2019, 12:51 PM
This revision is now accepted and ready to land.Apr 6 2019, 12:51 PM
This revision was automatically updated to reflect the committed changes.