mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add back connecting scheduleUpdateChildrenLayout to legendDataChanged
* This was mistakenly removed
This commit is contained in:
parent
2db495662f
commit
e5767c4f41
@ -121,6 +121,8 @@ void RiuWellLogPlot::insertTrackPlot(RiuWellLogTrack* trackPlot, size_t index)
|
||||
legend->contentsWidget()->layout()->setAlignment(Qt::AlignBottom | Qt::AlignHCenter);
|
||||
m_legends.insert(static_cast<int>(index), legend);
|
||||
|
||||
this->connect(trackPlot, SIGNAL(legendDataChanged(const QVariant &, const QList< QwtLegendData > &)), SLOT(scheduleUpdateChildrenLayout()));
|
||||
|
||||
if (!m_plotDefinition->areTrackLegendsVisible())
|
||||
{
|
||||
legend->hide();
|
||||
|
Loading…
Reference in New Issue
Block a user