CBICA / CaPTk2.0

Other
5 stars 5 forks source link

[InteractiveSegmentation] Progress bar should reset after running and unloading data #142

Open ashishsingh18 opened 4 years ago

ashishsingh18 commented 4 years ago

image

ashishsingh18 commented 4 years ago

This might be the case with other plugins as well...

dboun commented 4 years ago

You're right. It generally should reset when both the following are true at the same time:

I think this can be done in

  // reimplemented from QmitkAbstractView
  void NodeAdded(const mitk::DataNode* node) override;

  // reimplemented from QmitkAbstractView
  void NodeRemoved(const mitk::DataNode* node) override;

which are part of QmitkAbstractView or mitk::ILifecycleAwarePart