Add reload and delete of pressure/depth data

This commit is contained in:
Magne Sjaastad
2023-03-13 14:47:44 +01:00
parent ab44f9fa17
commit eb5a0cf936
10 changed files with 159 additions and 10 deletions

View File

@@ -80,6 +80,11 @@ void RicOpenInTextEditorFeature::onActionTriggered( bool isChecked )
{
filePath = templateFileItem->absoluteFilePath();
}
if ( auto pressureDepthData = dynamic_cast<RimPressureDepthData*>( uiItems.front() ) )
{
filePath = pressureDepthData->filePath();
}
}
if ( !filePath.isEmpty() )