HomePhabricator
Diffusion MITK d9f6ca2f596d

Automatically set .json file ending for MxN layout files

Description

Automatically set .json file ending for MxN layout files

Summary: When missing (which happens on Ubuntu, since the default suffix of QFileDialog does not seem to work there), the .json file ending is now automatically added for MxN layout files.

Test Plan: Open MxN, save the window layout. The created file should always be a .json file, regardless of if you added the extension explicitly or not.

Reviewers: O3 MITK Reviewer Group II, kislinsk

Reviewed By: O3 MITK Reviewer Group II, kislinsk

Maniphest Tasks: T29585

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

Details

Provenance
s434nAuthored on May 11 2023, 10:59 AM
s434nPushed on May 12 2023, 11:08 AM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITKd544cde8c955: automatically set MxN layout file ending when missing
rMITK1dd5c937dd5a: Disable segmentation tools if segmentation is empty
Branches
Unknown
Tags
Unknown
Tasks
T29585: [MxN] Loading layout needs .json file ending