Salome HOME
#17960 [CEA 17952] MG-Hexa hypothesis panel: add option button not active
[plugins/hexoticplugin.git] / src / GUI / HexoticPluginGUI_HypothesisCreator.cxx
index 42bedce708ee1987face763d6f76a5d5ddc3584a..9de1dc8de8dbe782b3907cccdc7b772c0fb480df 100644 (file)
@@ -306,6 +306,7 @@ QFrame* HexoticPluginGUI_HypothesisCreator::buildFrame()
   connect( mySmpWidget->pushButton_1, SIGNAL( clicked() ),          this, SLOT( onAddLocalSize() ) );
   connect( mySmpWidget->pushButton_2, SIGNAL( clicked() ),          this, SLOT( onRemoveLocalSize() ) );
   connect( aTabWidget,                SIGNAL( currentChanged(int)), this, SLOT( onTabChanged( int ) ) );
+  connect( myAdvWidget->addBtn,       SIGNAL( clicked() ),          this, SLOT( onAddOption() ) );
   return fr;
 }
 
@@ -781,3 +782,8 @@ void HexoticPluginGUI_HypothesisCreator::onTabChanged(int i)
   myVLWidget->myFacesWithLayers->ShowPreview( i == VL_TAB );
   myVLWidget->myImprintedFaces->ShowPreview( false );
 }
+
+void HexoticPluginGUI_HypothesisCreator::onAddOption()
+{
+  myAdvWidget->AddOption( NULL, true );
+}