mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1805 Make * indicate calculated time step in flow characteristics plot
This commit is contained in:
parent
3658811ed2
commit
44fa306ce1
@ -208,7 +208,7 @@ QList<caf::PdmOptionItemInfo> RimFlowCharacteristicsPlot::calculateValueOptions(
|
|||||||
{
|
{
|
||||||
auto it = std::find(calculatedTimeSteps.begin(), calculatedTimeSteps.end(), tsIdx);
|
auto it = std::find(calculatedTimeSteps.begin(), calculatedTimeSteps.end(), tsIdx);
|
||||||
QString itemText = timeStepDates[tsIdx];
|
QString itemText = timeStepDates[tsIdx];
|
||||||
if (it == calculatedTimeSteps.end())
|
if (it != calculatedTimeSteps.end())
|
||||||
{
|
{
|
||||||
itemText = itemText + " *";
|
itemText = itemText + " *";
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ namespace caf
|
|||||||
template<>
|
template<>
|
||||||
void RigFlowDiagResults::CellFilterEnum::setUp()
|
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_COMMUNICATION, "CELLS_COMMUNICATION", "Injector Producer Communication");
|
||||||
addItem(RigFlowDiagResults::CELLS_FLOODED, "CELLS_FLOODED", "Flooded by Injector");
|
addItem(RigFlowDiagResults::CELLS_FLOODED, "CELLS_FLOODED", "Flooded by Injector");
|
||||||
addItem(RigFlowDiagResults::CELLS_DRAINED, "CELLS_DRAINED", "Drained by Producer");
|
addItem(RigFlowDiagResults::CELLS_DRAINED, "CELLS_DRAINED", "Drained by Producer");
|
||||||
|
Loading…
Reference in New Issue
Block a user