]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
turn off local selection when it needs
authordmv <dmv@opencascade.com>
Mon, 14 Jan 2008 14:14:53 +0000 (14:14 +0000)
committerdmv <dmv@opencascade.com>
Mon, 14 Jan 2008 14:14:53 +0000 (14:14 +0000)
src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx

index 9adcb3b9c56a25bd57457b26731f3873f7b90549..93335fb66eda7e1202c17106925a9c2a55e30937 100644 (file)
@@ -191,6 +191,7 @@ void PrimitiveGUI_BoxDlg::ConstructorsClicked(int constructorId)
     case 1:
       {
        GroupPoints->hide();
+        globalSelection(); // close local contexts, if any
        resize(0, 0);
        GroupDimensions->show();
        
index 51bbf5494e741f04e9dd630664465216f8cfa3fa..eef654efa8b6dddb58dbbf705445f79f651fa934 100644 (file)
@@ -205,6 +205,7 @@ void PrimitiveGUI_ConeDlg::ConstructorsClicked(int constructorId)
     case 1 :
       { 
        GroupPoints->hide();
+        globalSelection(); // close local contexts, if any
        resize( 0, 0 );
        GroupDimensions->show();
 
index eef00b55a743716346f6619e336a4bb81c9a1ad3..b77e1f08d5c11793e4a5f4927d5a75b58186a326 100644 (file)
@@ -198,6 +198,7 @@ void PrimitiveGUI_CylinderDlg::ConstructorsClicked(int constructorId)
     case 1 :
       { 
        GroupPoints->hide();
+        globalSelection(); // close local contexts, if any
        resize( 0, 0 );
        GroupDimensions->show();
        
index 168bc650c08128a40039f0b251d193dd4c26f25d..f1d4a1da681ccf7894ca25731ffd7690228e7377 100644 (file)
@@ -173,6 +173,7 @@ void PrimitiveGUI_SphereDlg::ConstructorsClicked (int constructorId)
     case 1:
       {
        GroupPoints->hide();
+        globalSelection(); // close local contexts, if any
        resize(0, 0);
        GroupDimensions->show();
        
index 157e0eb0e967cbaaf88cf41c390f374a4ee13a7b..87c747be71b7fb626134899350317ac8ce4e9583 100644 (file)
@@ -199,6 +199,7 @@ void PrimitiveGUI_TorusDlg::ConstructorsClicked (int constructorId)
   case 1:
     {
       GroupPoints->hide();
+      globalSelection(); // close local contexts, if any
       resize(0, 0);
       GroupDimensions->show();