mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user