Commit 1eb14786 authored by Denis Khachko's avatar Denis Khachko

Course manager scroll bug fix.

parent 0dfa9651
......@@ -286,7 +286,7 @@ void MainWindowTask::loadCourse()
return;
};
this->showNormal();
baseKursFile=fi;
curDir=fi.absolutePath ();
......@@ -310,12 +310,13 @@ void MainWindowTask::loadCourse()
createDefaultWorkFile=false;
};
cursWorkFile.setFileName("");
loadCourseData(fileName);
isReadOnly=false;
interface->setPreProgram(QVariant(""));
QString cText=course->courceDescr();
if(cText.right(4)==".htm" ||cText.right(5)==".html" )
{
......@@ -339,6 +340,7 @@ void MainWindowTask::loadCourse()
{
saveCourse();
};
};
......
......@@ -45,6 +45,9 @@
<kerning>false</kerning>
</font>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
......
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