Commit bf6ac89a authored by Denis Khachko's avatar Denis Khachko

Task name;

parent f4b18958
......@@ -124,6 +124,7 @@ bool Plugin::setTextFromFile(QString fname)
QUrl base=QUrl(MW->baseCourseFile());//path to kurs.xml file
base.setScheme("Course");
text.url=base;
text.title=MW->task.name;
qDebug()<<base.isLocalFile()<<base.path ();
gui->setProgramSource(text);
return true;
......
......@@ -563,7 +563,7 @@ if(ioDir.isFile())
};
task.isps=course->Modules(curTaskIdx.internalId());
task.name=course->getTitle(curTaskIdx.internalId());
qDebug()<<"ISPS"<<task.isps;
qDebug()<<"ISPS"<<task.isps<<"task.name"<<task.name;
task.fields.clear();
for(int i=0;i<task.isps.count();i++)
{
......
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