mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Show Plot Data: Add special handling for well log plots
Well log plots do not derive from RimPlot, add special handling.
This commit is contained in:
@@ -896,17 +896,17 @@ void RimDepthTrackPlot::setAvailableDepthTypes( const std::set<DepthTypeEnum>& d
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimDepthTrackPlot::asciiDataForPlotExport() const
|
||||
{
|
||||
QString out = description() + "\n";
|
||||
QString plotContentAsText;
|
||||
|
||||
for ( RimPlot* plot : plots() )
|
||||
{
|
||||
if ( plot->showWindow() )
|
||||
{
|
||||
out += plot->asciiDataForPlotExport();
|
||||
plotContentAsText += plot->asciiDataForPlotExport();
|
||||
}
|
||||
}
|
||||
|
||||
return out;
|
||||
return plotContentAsText;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user