Make updating of well log plots more robust

1. Don't update tracks in RimWellLogPlot::createViewWidget.
 * We haven't set up the MDI windows properly yet.
 * Instead implement updateVIewWidgetAfterCreation override and do update tracks there.
2.  Perform calculateAvailableDepthRange in applyZoomAllDepths
3. Do replot of track widgets twice when changing visible range. Need to investigate this one further.
This commit is contained in:
Gaute Lindkvist
2018-06-29 11:47:28 +02:00
parent ec63f0c28e
commit fc821ea524
3 changed files with 13 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ protected:
virtual void onLoadDataAndUpdate() override;
virtual QImage snapshotWindowContent() override;
virtual void updateViewWidgetAfterCreation() override;
private:
void applyZoomAllDepths();