Image-view not correctly refreshed after deleting dataset.
Mantis Issue 971, reported by salbert, assigned to jmichel, created: 2014-09-03
When deleting a dataset, the database-browser view selection is refreshed but the image-view is not correctly refreshed.
Cause: When the dataset has been deleted from the database-model, a refresh signal is sent to the database-browser. The DatabaseBrowserController::UpdateTree() is then called to refresh displayed datasets, which leads to delete the corresponding QTreeWidgetItem and the emission of a selection-change signal from the QTreeWidget. This could lead to another call to DatabaseBrowserModel::UpdateTree(). So, Qt signals are blocked for the widget to prevent a infinite circular loop.
This is a split of MANTIS-970 (http://bugs.orfeo-toolbox.org/view.php?id=970) for point number 2.
1429256484 - julienIs this still hapenning ?