[Kst] branches/work/kst/portto4-objectstore/kst/src/widgets
Adam Treat
treat at kde.org
Thu Oct 18 23:07:59 CEST 2007
SVN commit 726779 by treat:
* Reset the <None> item
M +3 -0 vectorselector.cpp
--- branches/work/kst/portto4-objectstore/kst/src/widgets/vectorselector.cpp #726778:726779
@@ -123,6 +123,9 @@
_vector->addItem(string, qVariantFromValue(v.data()));
}
+ if (_allowEmptySelection) //reset the <None>
+ setAllowEmptySelection(_allowEmptySelection);
+
if (current)
setSelectedVector(current);
}
More information about the Kst
mailing list