#1805 Make * indicate calculated time step in flow characteristics plot

This commit is contained in:
Bjørnar Grip Fjær 2017-08-21 11:48:41 +02:00
parent 3658811ed2
commit 44fa306ce1
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ QList<caf::PdmOptionItemInfo> RimFlowCharacteristicsPlot::calculateValueOptions(
{
auto it = std::find(calculatedTimeSteps.begin(), calculatedTimeSteps.end(), tsIdx);
QString itemText = timeStepDates[tsIdx];
if (it == calculatedTimeSteps.end())
if (it != calculatedTimeSteps.end())
{
itemText = itemText + " *";
}

View File

@ -36,7 +36,7 @@ namespace caf
template<>
void RigFlowDiagResults::CellFilterEnum::setUp()
{
addItem(RigFlowDiagResults::CELLS_ACTIVE, "CELLS_ACTIVE", "All Active cells");
addItem(RigFlowDiagResults::CELLS_ACTIVE, "CELLS_ACTIVE", "All Active Cells");
addItem(RigFlowDiagResults::CELLS_COMMUNICATION, "CELLS_COMMUNICATION", "Injector Producer Communication");
addItem(RigFlowDiagResults::CELLS_FLOODED, "CELLS_FLOODED", "Flooded by Injector");
addItem(RigFlowDiagResults::CELLS_DRAINED, "CELLS_DRAINED", "Drained by Producer");