From: schaerer Date: Wed, 24 Mar 2010 13:59:01 +0000 (+0000) Subject: hide the experimental menu when CLITK_EXPERIMENTAL is not set X-Git-Tag: v1.2.0~748 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5dd256f271817c0d80fab16b752f197f4ce622c3;p=clitk.git hide the experimental menu when CLITK_EXPERIMENTAL is not set --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 722c923..578a112 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -3,8 +3,8 @@ Program: vv Module: $RCSfile: vvMainWindow.cxx,v $ Language: C++ - Date: $Date: 2010/03/24 13:37:34 $ - Version: $Revision: 1.18 $ + Date: $Date: 2010/03/24 13:59:01 $ + Version: $Revision: 1.19 $ Author : Pierre Seroul (pierre.seroul@gmail.com) Copyright (C) 200COLUMN_IMAGE_NAME @@ -321,6 +321,9 @@ vvMainWindow::vvMainWindow():vvMainWindowBase() { // Adding all new tools (insertion in the menu) vvToolManager::GetInstance()->InsertToolsInMenu(this); + + if (!CLITK_EXPERIMENTAL) + menuExperimental->menuAction()->setVisible(false); } //------------------------------------------------------------------------------