mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash following legend updates.
This commit is contained in:
parent
c19bcf6e67
commit
8e66ba405c
@ -524,7 +524,10 @@ void RimWellLogTrack::updateAxisAndGridTickIntervals()
|
||||
void RimWellLogTrack::updateAllLegendItems()
|
||||
{
|
||||
reattachAllCurves();
|
||||
m_wellLogTrackPlotWidget->updateLegend();
|
||||
if (m_wellLogTrackPlotWidget)
|
||||
{
|
||||
m_wellLogTrackPlotWidget->updateLegend();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user