HomePhabricator
Diffusion MITK 7014777eedae

Preserve color selection

Description

Preserve color selection

Summary:
Correctly initialize the color selection dialog

The QColorDialog can be initialized with the recently selected color.
The member variable color will only be changed if a valid color selection has been made inside the QColorDialog.

Test Plan: manual UI test

Reviewers: kahl, O1 MITK Reviewer Group I, kislinsk

Reviewed By: kahl, O1 MITK Reviewer Group I, kislinsk

Subscribers: kislinsk, kahl, kalali

Maniphest Tasks: T26969

Differential Revision: https://phabricator.mitk.org/D471

Details

Provenance
kalaliAuthored on Mar 1 2021, 12:54 PM
kalaliPushed on Mar 2 2021, 9:10 AM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK372746b5a2ae: Initialize color member with red
rMITKb9f34b51cab7: Merge branch 'bugfix/T28000-BumpDevelVersion' into develop
Branches
Loading...
Tags
Loading...
Tasks
T26969: [Segmentation] New segmentation dialog: Change color twice and aborting the second time chages color to red