[rkward] rkward/plugin: Fix for <formula> element never being 'valid'

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Feb 18 19:46:58 UTC 2016


Git commit eb3e2584b68a140f77a1571a62a01efb1e804fb4 by Thomas Friedrichsmeier.
Committed on 18/02/2016 at 19:46.
Pushed by tfry into branch 'master'.

Fix for <formula> element never being 'valid'

M  +2    -2    rkward/plugin/rkformula.cpp

http://commits.kde.org/rkward/eb3e2584b68a140f77a1571a62a01efb1e804fb4

diff --git a/rkward/plugin/rkformula.cpp b/rkward/plugin/rkformula.cpp
index 1485aed..bb82618 100644
--- a/rkward/plugin/rkformula.cpp
+++ b/rkward/plugin/rkformula.cpp
@@ -40,11 +40,11 @@ RKFormula::RKFormula (const QDomElement &element, RKComponent *parent_component,
 	RK_TRACE (PLUGIN);
 
 	// create and register properties
-	fixed_factors = new RKComponentPropertyRObjects (this, true);
+	fixed_factors = new RKComponentPropertyRObjects (this, false);
 	connect (fixed_factors, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (factorsChanged(RKComponentPropertyBase*)));
 	addChild ("fixed_factors", fixed_factors);
 	fixed_factors->setInternal (true);
-	dependent = new RKComponentPropertyRObjects (this, true);
+	dependent = new RKComponentPropertyRObjects (this, false);
 	connect (dependent, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (factorsChanged(RKComponentPropertyBase*)));
 	addChild ("dependent", dependent);
 	dependent->setInternal (true);



More information about the rkward-tracker mailing list