mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1912 Curve Creator : Avoid selection in main project tree when clicking on curve
This commit is contained in:
@@ -1320,7 +1320,13 @@ caf::PdmObject* RimSummaryPlot::findRimCurveFromQwtCurve(const QwtPlotCurve* qwt
|
||||
if (m_summaryCurveCollection)
|
||||
{
|
||||
RimSummaryCurve* foundCurve = m_summaryCurveCollection->findRimCurveFromQwtCurve(qwtCurve);
|
||||
if (foundCurve) return foundCurve;
|
||||
|
||||
if (foundCurve)
|
||||
{
|
||||
m_summaryCurveCollection->setCurrentSummaryCurve(foundCurve);
|
||||
|
||||
return foundCurve;
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user