From: dsarrut Date: Tue, 3 May 2011 12:49:52 +0000 (+0200) Subject: Correct bug: when open roi on a non-3D image, the file browser still open. X-Git-Tag: v1.2.0~2^2~5^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7ef2ed26951d85fea72d6b02c2db1bdf6b53ce39;p=clitk.git Correct bug: when open roi on a non-3D image, the file browser still open. --- diff --git a/vv/vvToolStructureSetManager.cxx b/vv/vvToolStructureSetManager.cxx index 16d53cb..151435f 100644 --- a/vv/vvToolStructureSetManager.cxx +++ b/vv/vvToolStructureSetManager.cxx @@ -137,6 +137,7 @@ void vvToolStructureSetManager::InputIsSelected(vvSlicerManager *m) if (mCurrentImage->GetNumberOfDimensions() != 3) { QMessageBox::information(this,tr("Sorry only 3D yet"), tr("Sorry only 3D yet")); close(); + return; } // Hide selector HideInputSelector(); // splitter