Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Join modifications from branch OCC_development_for_3_2_0a2
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ExtrusionDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
index 0caa16cc36d7c4113ff4a5f4cdf5fc4f83cae30c..7860471d78079611f5090fca23ea01b1785e4cce 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
@@
-264,13
+264,11
@@
SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg (SMESHGUI* theModule,
connect(CheckBoxMesh, SIGNAL(toggled(bool)), SLOT(onSelectMesh(bool)));
/***************************************************************/
connect(CheckBoxMesh, SIGNAL(toggled(bool)), SLOT(onSelectMesh(bool)));
/***************************************************************/
- /* Move widget on the botton right corner of main widget */
- int x, y;
- mySMESHGUI->DefineDlgPosition(this, x, y);
- this->move(x, y);
+
this->show(); // displays Dialog
ConstructorsClicked(0);
this->show(); // displays Dialog
ConstructorsClicked(0);
+ SelectionIntoArgument();
}
//=================================================================================
}
//=================================================================================
@@
-384,10
+382,10
@@
bool SMESHGUI_ExtrusionDlg::ClickOnApply()
} catch (...) {
}
} catch (...) {
}
- mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
+ SelectionIntoArgument();
}
return true;
}
}
return true;
}
@@
-410,7
+408,7
@@
void SMESHGUI_ExtrusionDlg::ClickOnCancel()
{
disconnect(mySelectionMgr, 0, this, 0);
mySelectionMgr->clearFilters();
{
disconnect(mySelectionMgr, 0, this, 0);
mySelectionMgr->clearFilters();
- mySelectionMgr->clearSelected();
+
//
mySelectionMgr->clearSelected();
SMESH::SetPickable(); // ???
SMESH::SetPointRepresentation(false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
SMESH::SetPickable(); // ???
SMESH::SetPointRepresentation(false);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))