]> Creatis software - clitk.git/commitdiff
hide the experimental menu when CLITK_EXPERIMENTAL is not set
authorschaerer <schaerer>
Wed, 24 Mar 2010 13:59:01 +0000 (13:59 +0000)
committerschaerer <schaerer>
Wed, 24 Mar 2010 13:59:01 +0000 (13:59 +0000)
vv/vvMainWindow.cxx

index 722c923aa3512f47cade4906d499913bf5fb7fea..578a112c70d6f004c5594199d302a3e972e259b0 100644 (file)
@@ -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);
 }
 //------------------------------------------------------------------------------