HomePhabricator
Diffusion MITK 590f839cfeab

Handle cases with no preferences

Description

Handle cases with no preferences

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Details

Provenance
flocaAuthored on May 2 2018, 1:37 PM
flocaPushed on May 2 2018, 1:39 PM
Parents
rMITK86fa53dc508a: Fixed gcc errors/warnings.
Branches
Unknown
Tags
Unknown

Event Timeline

kalali added inline comments.
/Plugins/org.mitk.gui.qt.common/src/QmitkNodeSelectionDialog.cpp
38

Here is the mistake I mentioned: The 'unsigned int order = 0' is not increased and the providers are not added to the map of visible providers; just the first one.
However, this has nothing to do with my problem of showing both inspectors - I simply did not change the visibility of both to 'visible'.

It is not possible to make both inspectors invisible, since a favorite inspector is always selected. The questions is if we need this lines of code. If so, we should add '++order'.