[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/koproperty2/koproperty
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2009-06-08 19:07:44
Message-ID: 1244488064.684634.30920.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 979024 by staniek:

KoProperty
 *only change parent properties of composed properties (e.g. "geometry" for width); \
e.g. in case of forms child properties are read-only



 M  +3 -1      Property.cpp  


--- trunk/koffice/kexi/koproperty2/koproperty/Property.cpp #979023:979024
@@ -409,7 +409,9 @@
 //    if (!d->composed || !useComposedProperty)// || !composed->handleValue())
         d->value = value;
 
-    emitPropertyChanged(); // called as last step in this method!
+    if (!d->parent) { // emit only if parent has not done it
+        emitPropertyChanged(); // called as last step in this method!
+    }
 }
 
 void


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic