(#540) Removed the Visible Cells Sync from Gui.

Moved UpateOverrides from init afterRead to OpenProject
This commit is contained in:
Jacob Støren
2015-10-22 16:02:28 +02:00
parent 44d1aaa3f1
commit b15b23b856
3 changed files with 15 additions and 3 deletions

View File

@@ -71,7 +71,10 @@ RimViewController::RimViewController(void)
CAF_PDM_InitField(&m_syncCellResult, "SyncCellResult", false, "Cell Result", "", "", "");
CAF_PDM_InitField(&m_syncVisibleCells, "SyncVisibleCells", false, "Visible Cells", "", "", "");
//syncVisibleCells.uiCapability()->setUiHidden(true); // For now
/// We do not support this. Consider to remove sometime
m_syncVisibleCells.uiCapability()->setUiHidden(true);
m_syncVisibleCells.xmlCapability()->setIOWritable(false);
m_syncVisibleCells.xmlCapability()->setIOReadable(false);
CAF_PDM_InitField(&m_syncRangeFilters, "SyncRangeFilters", true, "Range Filters", "", "", "");
CAF_PDM_InitField(&m_syncPropertyFilters, "SyncPropertyFilters", true,"Property Filters", "", "", "");
@@ -216,8 +219,9 @@ void RimViewController::fieldChangedByUi(const caf::PdmFieldHandle* changedField
void RimViewController::initAfterRead()
{
updateOptionSensitivity();
updateOverrides();
updateDisplayNameAndIcon();
// Update overrides is now done on load project in Application
}
//--------------------------------------------------------------------------------------------------