From cba0e188beeed22735894174dce61f5bf3179589 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 29 May 2018 16:00:15 +0300 Subject: [PATCH] Temporary fix for '23552: Unable to use the contextual menu of Object Browser window' issue. --- resources/SalomeApp.xml.in | 2 +- src/GEOMGUI/GeometryGUI.cxx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in index 1c6c9f377..94972c6d5 100755 --- a/resources/SalomeApp.xml.in +++ b/resources/SalomeApp.xml.in @@ -69,7 +69,7 @@ - + diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 4a21919d8..27284a215 100755 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -2386,8 +2386,9 @@ void GeometryGUI::createPreferences() int defl = addPreference( tr( "PREF_DEFLECTION" ), genGroup, LightApp_Preferences::DblSpin, "Geometry", "deflection_coeff" ); - addPreference( tr( "PREF_PREDEF_MATERIALS" ), genGroup, - LightApp_Preferences::Bool, "Geometry", "predef_materials" ); + // Temporary hide this preference, because of the '#23552: Unable to use the contextual menu of Object Browser window' issue + //addPreference( tr( "PREF_PREDEF_MATERIALS" ), genGroup, + // LightApp_Preferences::Bool, "Geometry", "predef_materials" ); int material = addPreference( tr( "PREF_MATERIAL" ), genGroup, LightApp_Preferences::Selector, -- 2.39.2