mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Maintenance fixes
* Remove light mode from theme selection The light mode is not working well, and was intended to be used when exporting to pdf from dark mode. * Allow direct edit of summary case name The name for a summary case can be automatically created. If the user starts to edit the name manually, set the name option to Custom. Make the descriptionField available as not read-only, then it is possible to edit the name directly in the project tree using F2 or double-click. * Allow drag of ensembles * Add support for drag/drop of well segments * Add support for well segment number stepping in toolbar
This commit is contained in:
@@ -807,7 +807,16 @@ void RimSummaryMultiPlot::setDefaultRangeAggregationSteppingDimension()
|
||||
auto stepDimension = RimSummaryDataSourceStepping::SourceSteppingDimension::VECTOR;
|
||||
if ( analyzer.wellNames().size() == 1 )
|
||||
{
|
||||
stepDimension = RimSummaryDataSourceStepping::SourceSteppingDimension::WELL;
|
||||
auto wellName = *( analyzer.wellNames().begin() );
|
||||
|
||||
if ( analyzer.wellSegmentNumbers( wellName ).size() == 1 )
|
||||
{
|
||||
stepDimension = RimSummaryDataSourceStepping::SourceSteppingDimension::WELL_SEGMENT;
|
||||
}
|
||||
else
|
||||
{
|
||||
stepDimension = RimSummaryDataSourceStepping::SourceSteppingDimension::WELL;
|
||||
}
|
||||
}
|
||||
else if ( analyzer.groupNames().size() == 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user