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:
@@ -1183,7 +1183,7 @@ void RiaGuiApplication::onFileSuccessfullyLoaded( const QString& fileName, RiaDe
|
||||
auto plotWindow = getOrCreateAndShowMainPlotWindow();
|
||||
plotWindow->raise();
|
||||
}
|
||||
else
|
||||
else if ( fileType != RiaDefines::ImportFileType::RESINSIGHT_PROJECT_FILE )
|
||||
{
|
||||
auto mainWindow = getOrCreateAndShowMainWindow();
|
||||
mainWindow->raise();
|
||||
@@ -1271,6 +1271,12 @@ void RiaGuiApplication::onProjectOpened()
|
||||
|
||||
// Make sure to process events before this function to avoid strange Qt crash
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
|
||||
if ( m_project->showPlotWindow() && m_project->showPlotWindowOnTop() )
|
||||
{
|
||||
m_mainPlotWindow->raise();
|
||||
m_mainPlotWindow->activateWindow();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -57,6 +57,14 @@ const QDateTime& RiaRftPltCurveDefinition::timeStep() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiaRftPltCurveDefinition::operator<( const RiaRftPltCurveDefinition& other ) const
|
||||
{
|
||||
if ( m_curveAddress.ensemble() != other.m_curveAddress.ensemble() )
|
||||
{
|
||||
// Sort by ensemble first, to make sure the ensemble curves are created and plotted before the single curves
|
||||
|
||||
if ( m_curveAddress.ensemble() ) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( m_curveAddress == other.m_curveAddress )
|
||||
{
|
||||
if ( m_wellName == other.m_wellName )
|
||||
|
Reference in New Issue
Block a user