[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Aug 12 00:00:47 CEST 2004


CVS commit by staikos: 

assume editable if we don't know for sure, and do the lookup inside the lock


  M +3 -1      kstvectordialog_i.cpp   1.46


--- kdeextragear-2/kst/kst/kstvectordialog_i.cpp  #1.45:1.46
@@ -90,8 +90,10 @@ void KstVectorDialogI::updateCompletion(
     ds->readLock();
     list = ds->fieldList();
-    ds->readUnlock();
     Field->setEditable(!ds->fieldListIsComplete());
+    ds->readUnlock();
   } else {
     list = KstDataSource::fieldListForSource(FileName->url());
+    // FIXME find a better solution here
+    Field->setEditable(true);
   }
 





More information about the Kst mailing list