From 02bbf97f10525ea95c32842499b7c5f136d356e1 Mon Sep 17 00:00:00 2001 From: jrt Date: Fri, 5 Mar 2004 12:58:57 +0000 Subject: [PATCH] Enable the" File > Import" menu. --- src/SMESHGUI/SMESHGUI.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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); -- 2.39.2