[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Mar 11 21:13:21 CET 2005


CVS commit by staikos: 

fail on editable scalars


  M +1 -1      kstiface_impl.cpp   1.65


--- kdeextragear-2/kst/kst/kstiface_impl.cpp  #1.64:1.65
@@ -451,5 +451,5 @@ bool KstIfaceImpl::setScalar(const QStri
   KstScalarList::Iterator it = KST::scalarList.findTag(name);
 
-  if (it == KST::scalarList.end()) {
+  if (it == KST::scalarList.end() || (*it)->editable()) {
     return false;
   }




More information about the Kst mailing list