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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.