SegmentationApplicationViewGUI::RefreshViewer() when changing the filename to open
Mantis Issue 11, reported by echristophe, assigned to gborrut, created: 2008-10-07
In the Segmentation application, when opening a second image, the viewer is not refreshed.
This comes from the condition checking in SegmentationApplicationViewGUI::RefreshViewer() (otbSegmentationApplicationViewGUI.cxx:84):
if(m_Viewer.IsNull())
The test should also consider cases where the filename has changed and the viewer need to be refreshed. A solution might be to add a boolean in the otb::ImageViewerBase class to indicate a change or to take advantage of the pipeline notification to detect a need for refresh.
1231493278 - GuillaumeCorrected.
1231513533 - GuillaumeCorrected.