From 5dd256f271817c0d80fab16b752f197f4ce622c3 Mon Sep 17 00:00:00 2001 From: schaerer Date: Wed, 24 Mar 2010 13:59:01 +0000 Subject: [PATCH] hide the experimental menu when CLITK_EXPERIMENTAL is not set --- vv/vvMainWindow.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); } //------------------------------------------------------------------------------ -- 2.47.1