HomePhabricator
Diffusion MITK a3f148c69278

Do not use empty filepath as event config

Description

Do not use empty filepath as event config

Summary:
Return early if the given filepath is empty

This is needed since the default MITK interaction event config
inside the mitkTool was changed from 'DisplayConfigMITK.xml' to
an empty string.
The reason was that in while segmenting in the PACS mode after a tool
has been disabled again the default config was loaded, which was MITK mode.

Test Plan:
manual testing

  • Open MITK workbench
  • load an image
  • open a segmentation view
  • change to 3D segmentations
  • activate a tool
  • observe output: no xml parsing error should be visible

Reviewers: kislinsk, O1 MITK Reviewer Group I

Reviewed By: kislinsk, O1 MITK Reviewer Group I

Subscribers: s434n, kalali, kislinsk

Maniphest Tasks: T28667

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

Details

Provenance
kalaliAuthored on Oct 15 2021, 9:11 AM
kalaliPushed on Oct 15 2021, 11:21 AM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK7ff746b52822: Return early if the given filepath is empty
rMITK2272fee949e5: Cherry-picked old changes: PACS-mouse-mode-with-mouse-wheel-scrolling
Branches
Unknown
Tags
Unknown
Tasks
T28667: [Segmentation] Generalize overwriting of interaction configs when using tools