Merge branch 'master' of github.com:Sankore/Sankore-3.1

preferencesAboutTextFull
Ivan Ilin 13 years ago
commit 8063c98992
  1. 2
      src/core/UBPersistenceManager.cpp

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

Loading…
Cancel
Save