mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Source stepping and toolbar updates (#8866)
* Move layout options to separate toolbar * Enable stepping on quantities, remove special history curve stepping for now * Allow stepping ensembles and cases * Add step next/prev and add new sub plot
This commit is contained in:
@@ -206,10 +206,11 @@ enum class RowCount
|
||||
|
||||
enum class MultiPlotPageUpdateType : uint32_t
|
||||
{
|
||||
NONE = 0b0000,
|
||||
LEGEND = 0b0001,
|
||||
PLOT = 0b0010,
|
||||
ALL = 0b0011
|
||||
NONE = 0b00000000,
|
||||
LEGEND = 0b00000001,
|
||||
PLOT = 0b00000010,
|
||||
TITLE = 0b00000100,
|
||||
ALL = 0b00000111
|
||||
};
|
||||
|
||||
constexpr enum MultiPlotPageUpdateType operator|( const enum MultiPlotPageUpdateType selfValue,
|
||||
|
||||
@@ -88,14 +88,9 @@ std::set<std::string> RiaSummaryAddressAnalyzer::quantityNamesNoHistory() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::string RiaSummaryAddressAnalyzer::quantityNameForTitle() const
|
||||
{
|
||||
if ( quantityNamesWithHistory().size() == 1 && quantityNamesNoHistory().empty() )
|
||||
if ( quantities().size() == 1 )
|
||||
{
|
||||
return *quantityNamesWithHistory().begin();
|
||||
}
|
||||
|
||||
if ( quantityNamesNoHistory().size() == 1 && quantityNamesWithHistory().empty() )
|
||||
{
|
||||
return *quantityNamesNoHistory().begin();
|
||||
return *quantities().begin();
|
||||
}
|
||||
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user