From 7ef2ed26951d85fea72d6b02c2db1bdf6b53ce39 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Tue, 3 May 2011 14:49:52 +0200 Subject: [PATCH] Correct bug: when open roi on a non-3D image, the file browser still open. --- vv/vvToolStructureSetManager.cxx | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.1