HomePhabricator
Diffusion MITK 75a448132d59

Override `OnDataStorageChanged()` to auto select nodes on event

Description

Override OnDataStorageChanged() to auto select nodes on event

If a data storage is set or reset after SetAutoSelectNewNodes was called
the OnDataStorageChanged() now checks for nodes to auto select, if auto
selection mode is enabled.
Before this change one had to call e.g. SetAutoSelectNewNodes explicitly
after SetDataStorage, if already loaded nodes of an existing data
storage should have been considered when a new node selection widget was
initialized.

Details

Provenance
kalaliAuthored on Mon, Aug 23, 5:14 PM
kalaliPushed on Mon, Sep 6, 8:33 AM
Differential Revision
Restricted Differential Revision
Parents
rMITK234cb93299fe: Fixed T28667 Generalize overwriting of interaction configs when using tools
Branches
Unknown
Tags
Unknown
Tasks
T28650: [Selection concept] (Re)setting a data storage does not automatically check for matching nodes