X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvToolROIManager.cxx;h=c86b4b2018fa89496b042f7780a5b6948e03039c;hb=42df5bd85f2ad8eb5f9323fdf2441c7e36e2129f;hp=ec69e4ee95665914fc9279888f8cca0fc5c591f9;hpb=28729cf9e633569745ae9b72f444a3cd98af098f;p=clitk.git diff --git a/vv/vvToolROIManager.cxx b/vv/vvToolROIManager.cxx index ec69e4e..c86b4b2 100644 --- a/vv/vvToolROIManager.cxx +++ b/vv/vvToolROIManager.cxx @@ -160,7 +160,7 @@ void vvToolROIManager::InitializeNewTool(bool ReadStateFlag) } // Display tool in the correct tab - QWidget * tab = qFindChild(mMainWindow->GetTab(), "ROItab"); + QWidget * tab = mMainWindow->GetTab()->findChild("ROItab"); tab->layout()->addWidget(this); // If not read in a file we start automatically the browser to load