[Kst] branches/work/kst/hierarchy/kst/src/libkst
Eli Fidler
eli at staikos.net
Mon Dec 11 22:37:54 CET 2006
SVN commit 612575 by fidler:
create scalars after setting tag in constructor
M +2 -2 kstmatrix.cpp
--- branches/work/kst/hierarchy/kst/src/libkst/kstmatrix.cpp #612574:612575
@@ -53,8 +53,6 @@
_editable = false;
_saveable = false;
- // must create scalars before setting tag name // FIXME: why?
- createScalars();
QString _tag = in_tag.tag();
if (!in_tag.isValid()) {
QString nt = i18n("Anonymous Matrix %1");
@@ -66,6 +64,8 @@
} else {
KstObject::setTagName(KST::suggestUniqueMatrixTag(in_tag));
}
+
+ createScalars();
setDirty();
KST::matrixList.lock().writeLock();
More information about the Kst
mailing list