From b0709676368fa14d3f5c87af6818e30e1731829a Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Thu, 28 Nov 2024 19:36:03 +0100 Subject: [PATCH] Disable IO --- ApplicationLibCode/Application/RiaPreferences.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ApplicationLibCode/Application/RiaPreferences.cpp b/ApplicationLibCode/Application/RiaPreferences.cpp index 21cb792ff3..90ecb57cb5 100644 --- a/ApplicationLibCode/Application/RiaPreferences.cpp +++ b/ApplicationLibCode/Application/RiaPreferences.cpp @@ -276,11 +276,13 @@ RiaPreferences::RiaPreferences() m_osduPreferences = new RiaPreferencesOsdu; CAF_PDM_InitField( &m_deleteOsduToken, "deleteOsduToken", false, "" ); caf::PdmUiPushButtonEditor::configureEditorLabelHidden( &m_deleteOsduToken ); + m_deleteOsduToken.xmlCapability()->disableIO(); CAF_PDM_InitFieldNoDefault( &m_sumoPreferences, "sumoPreferences", "sumoPreferences" ); m_sumoPreferences = new RiaPreferencesSumo; CAF_PDM_InitField( &m_deleteSumoToken, "deleteSumoToken", false, "" ); caf::PdmUiPushButtonEditor::configureEditorLabelHidden( &m_deleteSumoToken ); + m_deleteSumoToken.xmlCapability()->disableIO(); } //--------------------------------------------------------------------------------------------------