Adjustments for release

* Make sure text for multiple wells in same grid cell is displayed correctly
* Improve selection of result in Advanced Snapshot Export
* Restore the main window that was on top when project was saved
* Trim string to make sure '/' is exported with no space in front
* #9872 RFT-plot: Make colors stable for curves in RFT plots
* Set version to RC_02
This commit is contained in:
Magne Sjaastad
2023-03-09 08:54:28 +01:00
committed by GitHub
parent 1d00b38638
commit 527743a845
12 changed files with 107 additions and 33 deletions

View File

@@ -332,8 +332,21 @@ void RifTextDataTableFormatter::tableCompleted()
{
outputBuffer();
// Output an "empty" line after a finished table
m_out << m_tableRowPrependText << m_tableRowAppendText << "\n";
if ( m_tableRowPrependText.trimmed().isEmpty() )
{
// When exporting to Eclipse, make sure that the '/' character is written at the start of the line with no space in front. Some
// applications are not able to detect the '/' if space is in front
QString line = m_tableRowPrependText + m_tableRowAppendText;
line = line.trimmed();
m_out << line << "\n";
}
else
{
// Output an "empty" line after a finished table
m_out << m_tableRowPrependText << m_tableRowAppendText << "\n";
}
}
//--------------------------------------------------------------------------------------------------