[Kst] kst_1_0_branch: kdeextragear-2/kst/kst
    George Staikos 
    staikos at kde.org
       
    Tue Nov 23 20:21:47 CET 2004
    
    
  
CVS commit by staikos: 
critical fix for Barth's fix disovered while doing branch merging:
error paths need to reset the updating flag.
Please test.
  M +3 -0      kstdoc.cpp   1.136.2.1
--- kdeextragear-2/kst/kst/kstdoc.cpp  #1.136:1.136.2.1
@@ -158,4 +158,5 @@ bool KstDoc::openDocument(const KURL& ur
   if (!f.exists()) {
     KMessageBox::sorry(0L, i18n("%1: There is no file with that name to open.").arg(url.path()));
+    _updating = false;
     return false;
   }
@@ -170,4 +171,5 @@ bool KstDoc::openDocument(const KURL& ur
   if (!f.open(IO_ReadOnly)) {
     KMessageBox::sorry(0L, i18n("%1: File exists, but kst could not open it.").arg(url.path()));
+    _updating = false;
     return false;
   }
@@ -176,4 +178,5 @@ bool KstDoc::openDocument(const KURL& ur
     KMessageBox::sorry(0L, i18n("%1: Not a valid kst plot specification file.").arg(url.path()));
     f.close();
+    _updating = false;
     return false;
   }
    
    
More information about the Kst
mailing list