Resolved an issue related to the teacher bar

preferencesAboutTextFull
shibakaneki 13 years ago
parent ca3b2cac68
commit d83914d922
  1. 2
      src/core/UBPersistenceManager.cpp

@ -1075,7 +1075,7 @@ void UBPersistenceManager::persistTeacherBar(UBDocumentProxy* pDocumentProxy, in
if(f.open(QIODevice::WriteOnly))
{
QDomElement rootElem = domDoc.documentElement();
QDomNode teacherBarNode = domDoc.namedItem("teacherBar");
QDomNode teacherBarNode = rootElem.namedItem("teacherBar");
if(teacherBarNode.isNull())
{
// Create the element

Loading…
Cancel
Save