#868 Added paste of curve

This commit is contained in:
Magne Sjaastad
2016-11-06 08:30:58 +01:00
parent 009df71913
commit 60d64fbe77
5 changed files with 157 additions and 0 deletions

View File

@@ -277,6 +277,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
commandIds << "Separator";
commandIds << "RicDeleteItemFeature";
commandIds << "RicCopyReferencesToClipboardFeature";
commandIds << "RicPasteCurveFeature";
}
else if (dynamic_cast<RimSummaryCurve*>(uiItem))
{
@@ -285,6 +286,8 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
commandIds << "RicSummaryCurveSwitchAxisFeature";
commandIds << "Separator";
commandIds << "RicDeleteItemFeature";
commandIds << "RicCopyReferencesToClipboardFeature";
commandIds << "RicPasteCurveFeature";
}
else if(dynamic_cast<RimSummaryCurveFilter*>(uiItem))
{

View File

@@ -372,6 +372,7 @@ void RimSummaryCurve::onLoadDataAndUpdate()
if (allAddresses[i].uiText() == m_curveVariable->address().uiText())
{
m_uiFilterResultSelection = static_cast<int>(i);
updateConnectedEditors();
}
}
}