Subversion Repositories public iLand

Rev

Rev 129 | Rev 136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 129 Rev 135
Line 102... Line 102...
102
102
103
void ModelController::runYear()
103
void ModelController::runYear()
104
{
104
{
105
    if (!canRun()) return;
105
    if (!canRun()) return;
106
    try {
106
    try {
-
 
107
        GlobalSettings::instance()->clearDebugLists();  // clear debug data
107
        mModel->runYear();
108
        mModel->runYear();
108
        mRunYears ++;
109
        mRunYears ++;
109
    } catch(const IException &e) {
110
    } catch(const IException &e) {
110
        QString error_msg = e.toString();
111
        QString error_msg = e.toString();
111
        Helper::msg(error_msg);
112
        Helper::msg(error_msg);