From: jrt Date: Fri, 5 Mar 2004 12:58:57 +0000 (+0000) Subject: Enable the" File > Import" menu. X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=02bbf97f10525ea95c32842499b7c5f136d356e1 Enable the" File > Import" menu. --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 8cf3381d8..1c054057d 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -3701,9 +3701,6 @@ bool SMESHGUI::SetSettings(QAD_Desktop * parent) smeshGUI->myAutomaticUpdate = false; } - /* menus disable */ - parent->menuBar()->setItemEnabled(11, false); // IMPORT - return true; } @@ -4231,7 +4228,7 @@ void SMESHGUI::Dump(SMESH_Actor * Mactor) void SMESHGUI::AddNodes(SMESH_Actor * Mactor, int number, const SMESH::double_array & coords, const SMESH::long_array & indexes) { - MESSAGE("SMESHGUI::AddNodes(number="<GetMapper() == NULL) { @@ -4952,7 +4949,9 @@ void SMESHGUI::AddEdge(SMESH_Actor * Mactor, int idedge, int idnode1, void SMESHGUI::AddTriangles(SMESH_Actor * Mactor, int number, const SMESH::double_array & coords, const SMESH::long_array & indexes) { - MESSAGE("SMESHGUI::AddTriangles(number="<DataSource ); SMESH_Grid *ugrid = SMESH_Grid::SafeDownCast(Mactor->DataSource);