Page MenuHomePhabricator | MITK

UpdateStatusBar duplicates business logic
Open, Needs TriagePublic

Description

Currently the UpdateStatusBar method in QmitkImageNavigatorView and in mitkDisplayInteractor duplicate a lot of business logic. The part of the function that extracts the pixel value from the image and updates the statusbar is the same. The redundant part should be extracted and be put in one function that can be called by both (QmitkImageNavigatorView::UpdateStatusBar() and mitkDisplayInteractor::UpdateStatusBar().