#882 Enable export LAS command for Tracks, Plots and Well Logs Folder

This commit is contained in:
Magne Sjaastad
2016-09-21 13:04:34 +02:00
parent 59afd14339
commit 86dcc29bce
3 changed files with 37 additions and 9 deletions

View File

@@ -351,7 +351,10 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
{
commandIds << "RicExecuteScriptForCasesFeature";
}
else if (dynamic_cast<RimWellLogCurve*>(uiItem))
else if (dynamic_cast<RimWellLogCurve*>(uiItem) ||
dynamic_cast<RimWellLogTrack*>(uiItem) ||
dynamic_cast<RimWellLogPlot*>(uiItem) ||
dynamic_cast<RimWellLogPlotCollection*>(uiItem))
{
commandIds << "RicExportToLasFileFeature";
}