exports.cpp
changeset 201 eda811e31b2e
parent 199 202572375c98
child 205 30c4a6c7ff10
     1.1 --- a/exports.cpp	Tue Jan 31 15:56:28 2006 +0000
     1.2 +++ b/exports.cpp	Wed Feb 01 16:14:55 2006 +0000
     1.3 @@ -304,7 +304,7 @@
     1.4  	}
     1.5  	
     1.6  	// Read section-template
     1.7 -	if (!loadStringFromDisk (sectionTemplateFile,sectionTemplate))
     1.8 +	if (useSections && !loadStringFromDisk (sectionTemplateFile,sectionTemplate))
     1.9  	{
    1.10  		QMessageBox::critical (0,QObject::tr("Critical Export Error"),QObject::tr("Could not read %1").arg(sectionTemplateFile));
    1.11  		return false;