diff --git a/ApplicationLibCode/Application/RiaExperimentalFeatures.cpp b/ApplicationLibCode/Application/RiaExperimentalFeatures.cpp index 9cbb84d093..2a9eaa2125 100644 --- a/ApplicationLibCode/Application/RiaExperimentalFeatures.cpp +++ b/ApplicationLibCode/Application/RiaExperimentalFeatures.cpp @@ -32,7 +32,6 @@ const std::vector& RiaExperimentalFeatures::av static const std::vector features = { { "osdu-well-logs", "OSDU Well Logs", "Enable import of well logs from OSDU." }, { "undo-redo-view", "Undo/Redo View", "Show the command undo/redo history view." }, - { "export-dock-layout", "Export Dock Layout", "Add a window menu action to export the dock layout to the clipboard." }, { "oil-volume-result", "Oil Volume Result", "Compute the derived oil volume cell result." }, }; diff --git a/ApplicationLibCode/UserInterface/RiuMainWindowBase.cpp b/ApplicationLibCode/UserInterface/RiuMainWindowBase.cpp index 7ef71f7b9b..4d00129ad4 100644 --- a/ApplicationLibCode/UserInterface/RiuMainWindowBase.cpp +++ b/ApplicationLibCode/UserInterface/RiuMainWindowBase.cpp @@ -18,6 +18,7 @@ #include "RiuMainWindowBase.h" +#include "RiaApplication.h" #include "RiaDefines.h" #include "RiaPreferences.h" #include "RiaPreferencesSystem.h" @@ -767,7 +768,7 @@ void RiuMainWindowBase::addDefaultEntriesToWindowsMenu() } } - if ( RiaPreferencesSystem::current()->isFeatureEnabled( "export-dock-layout" ) ) + if ( RiaApplication::enableDevelopmentFeatures() ) { QAction* exportLayoutAction = m_windowMenu->addAction( "Export Layout to Clipboard" ); connect( exportLayoutAction, SIGNAL( triggered() ), this, SLOT( exportDockLayout() ) );