Commit 585bd68a authored by Denis Khachko's avatar Denis Khachko

Set empty program, when source changed.

parent 614e4a6f
......@@ -255,6 +255,7 @@ for(int i=0;i<prgElListT.count();i++)
setWindowTitle(course->name()+trUtf8(" - Практикум"));
updateLastFiles(fileName);
interface->lockContrls();
interface->setPreProgram(QVariant(""));
ui->checkTask->setEnabled(false);
this->show();
};
......@@ -294,6 +295,7 @@ void MainWindowTask::loadCourse()
}else
cursWorkFile.setFileName("");
loadCourseData(fileName);
interface->setPreProgram(QVariant(""));
QString cText=course->courceDescr();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment