[Kst] branches/work/kst/1.1/kst/kst

George Staikos staikos at kde.org
Mon Oct 17 05:50:47 CEST 2005


SVN commit 471278 by staikos:

fix loading bug: re-enable updates on error


 M  +8 -0      kstdoc.cpp  


--- branches/work/kst/1.1/kst/kst/kstdoc.cpp #471277:471278
@@ -214,10 +214,18 @@
   QString readingDocument = i18n("Reading Kst file");
 
   if (docElem.tagName() != "kstdoc") {
+    f.close();
+    opening = false;
+    _updating = false;
+    KstApp::inst()->setPaused(false);
     return false;
   }
 
   if (!docElem.attribute("version").isEmpty()) {
+    f.close();
+    opening = false;
+    _updating = false;
+    KstApp::inst()->setPaused(false);
     return false;
   }
 


More information about the Kst mailing list