Skip to content

Commit 4fd3895

Browse files
committed
update
1 parent 60cb81b commit 4fd3895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/criteria1DModel/criteria1DProject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ bool Crit1DProject::readSettings()
251251
}
252252
else if (_isMonthlyStatistics || _isSeasonalForecast)
253253
{
254-
_firstComputationMonth = projectSettings->value("firstComputationMonth", 0).toInt();
254+
_firstComputationMonth = projectSettings->value("firstMonth", 0).toInt();
255255
if (_firstComputationMonth == 0)
256256
{
257-
projectError = "Missing firstComputationMonth.";
257+
projectError = "Missing firstMonth.";
258258
return false;
259259
}
260260
}

0 commit comments

Comments
 (0)