diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 48157358b..cf1fc0aba 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1812,11 +1812,11 @@ void GeometryGUI::createPreferences() // Set property for top level display mode QStringList aTopModesList; + aTopModesList.append( tr("MEN_SHOW_ADD_WACTOR") ); aTopModesList.append( tr("MEN_KEEP_CURRENT_DM") ); aTopModesList.append( tr("MEN_WIREFRAME") ); aTopModesList.append( tr("MEN_SHADING") ); aTopModesList.append( tr("MEN_SHADING_WITH_EDGES") ); - aTopModesList.append( tr("MEN_SHOW_ADD_WACTOR") ); QList aTopIndexesList; aTopIndexesList.append(0); diff --git a/src/OBJECT/GEOM_AISShape.hxx b/src/OBJECT/GEOM_AISShape.hxx index 774bf1b2b..eec1ef7bf 100644 --- a/src/OBJECT/GEOM_AISShape.hxx +++ b/src/OBJECT/GEOM_AISShape.hxx @@ -79,11 +79,11 @@ public: //! Enumeration of top level display modes typedef enum { - TopKeepCurrent = 0 , //!< Keep current display mode + TopShowAdditionalWActor = 0, + TopKeepCurrent, //!< Keep current display mode TopWireFrame, TopShading, TopShadingWithEdges, - TopShowAdditionalWActor } TopLevelDispMode;