Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Oct 28, 2023
1 parent c809208 commit 822135c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion agrolib/soilWidget/soilWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ void Crit3DSoilWidget::tabChanged(int index)
wrCurveTab->resetAll();
}
}

}
else if (index == 3) // tab hydraulic conductivity curve
{
Expand Down
5 changes: 2 additions & 3 deletions agrolib/soilWidget/tabWaterRetentionCurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ TabWaterRetentionCurve::TabWaterRetentionCurve()
setLayout(mainLayout);
setMouseTracking(true);
fillElement = false;

}


void TabWaterRetentionCurve::resetAll()
{

// delete all Widgets
barHorizons.clear();

Expand All @@ -70,9 +69,9 @@ void TabWaterRetentionCurve::resetAll()
m_tooltip = new Callout(chart);
m_tooltip->hide();
fillElement = false;

}


bool TabWaterRetentionCurve::getFillElement() const
{
return fillElement;
Expand Down

0 comments on commit 822135c

Please sign in to comment.