[Kst] kdeextragear-2/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Wed Aug 11 18:59:11 CEST 2004
CVS commit by rchern:
checkParameters unlocks the vector always upon return, and new_i and edit_i relock it after.
M +2 -1 kstarraydialog_i.cpp 1.10
--- kdeextragear-2/kst/kst/kstarraydialog_i.cpp #1.9:1.10
@@ -141,4 +141,5 @@ bool KstArrayDialogI::new_I() {
return false;
}
+ (*vector_iter)->readLock();
//create a unique name
KstArrayList arrays = kstObjectSubList<KstDataObject, KstArray>(KST::dataObjectList);
@@ -182,4 +183,5 @@ bool KstArrayDialogI::edit_I() {
return false;
}
+ (*vector_iter)->readLock();
DP->writeLock();
DP->changeParameters(_tagName->text(), *vector_iter,
@@ -207,5 +209,4 @@ bool KstArrayDialogI::checkParameters(Ks
double &xStepDouble,
double &yStepDouble) {
-//POST: (*vector_iter) will remain readLocked if return is true
if (_zVector->selectedVector().isEmpty()){
More information about the Kst
mailing list