Skip to content

Commit

Permalink
#10744 Hide experimental fault reactivation feature for release.
Browse files Browse the repository at this point in the history
Fixes #10744.
  • Loading branch information
kriben committed Oct 23, 2023
1 parent 81929b4 commit 10b92b0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ApplicationLibCode/Application/RiaPreferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,10 @@ void RiaPreferences::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering&
#ifdef USE_ODB_API
else if ( uiConfigName == RiaPreferences::tabNameGeomech() )
{
m_geoMechPreferences()->appendItems( uiOrdering );
if ( RiaApplication::enableDevelopmentFeatures() )
{
m_geoMechPreferences()->appendItems( uiOrdering );
}
}
#endif
else if ( uiConfigName == RiaPreferences::tabNameImportExport() )
Expand Down Expand Up @@ -613,7 +616,10 @@ QStringList RiaPreferences::tabNames()
names << tabNamePlotting();
names << tabNameScripting();
#ifdef USE_ODB_API
names << tabNameGeomech();
if ( RiaApplication::enableDevelopmentFeatures() )
{
names << tabNameGeomech();
}
#endif
names << tabNameImportExport();

Expand Down

0 comments on commit 10b92b0

Please sign in to comment.