mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1825 Fix problem of linestyle and symbols beeing reused uneccessary
This commit is contained in:
parent
fad088f1b2
commit
b4cbe9fdd2
@ -186,11 +186,11 @@ std::map<std::string, size_t> RimSummaryCurveAppearanceCalculator::mapNameToAppe
|
|||||||
}
|
}
|
||||||
else if (appearance == CurveAppearanceType::SYMBOL)
|
else if (appearance == CurveAppearanceType::SYMBOL)
|
||||||
{
|
{
|
||||||
numOptions = caf::AppEnum<RimPlotCurve::PointSymbolEnum>::size();
|
numOptions = caf::AppEnum<RimPlotCurve::PointSymbolEnum>::size() - 1; // -1 since the No symbol option is not counted see cycledSymbol()
|
||||||
}
|
}
|
||||||
else if (appearance == CurveAppearanceType::LINE_STYLE)
|
else if (appearance == CurveAppearanceType::LINE_STYLE)
|
||||||
{
|
{
|
||||||
numOptions = caf::AppEnum<RimPlotCurve::LineStyleEnum>::size();
|
numOptions = caf::AppEnum<RimPlotCurve::LineStyleEnum>::size() - 1; // -1 since the No symbol option is not counted see cycledLineStyle()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// If none of these styles are used, fall back to a simply incrementing index
|
// If none of these styles are used, fall back to a simply incrementing index
|
||||||
|
Loading…
Reference in New Issue
Block a user