[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Wed Oct 10 21:12:21 CEST 2007
SVN commit 723810 by treat:
* Need to find a scheme for auto suggesting scalar names
M +3 -0 scalardialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/scalardialog.cpp #723809:723810
@@ -60,7 +60,10 @@
ObjectPtr ScalarDialog::createNewDataObject() const {
bool ok = false;
+
+ //FIXME We don't have a 'suggestScalarName' like we do with vectors... eli?
QString tagName = DataDialog::tagName();
+
double value = _scalarTab->value().toDouble(&ok);
if (!ok) {
value = Equations::interpret(_scalarTab->value().toLatin1(), &ok);
More information about the Kst
mailing list