diff options
author | saxonbeta | 2015-06-09 08:09:26 -0500 |
---|---|---|
committer | saxonbeta | 2015-06-09 08:09:26 -0500 |
commit | aadd14653ad00c8158c0151dd24356e667de05a2 (patch) | |
tree | f84e474b52313e69453a176fe94778546d12e0e3 /qtiplot-0.9.8.9-set_col_values.patch | |
download | aur-aadd14653ad00c8158c0151dd24356e667de05a2.tar.gz |
Initial import
Diffstat (limited to 'qtiplot-0.9.8.9-set_col_values.patch')
-rwxr-xr-x | qtiplot-0.9.8.9-set_col_values.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qtiplot-0.9.8.9-set_col_values.patch b/qtiplot-0.9.8.9-set_col_values.patch new file mode 100755 index 000000000000..12359f7e54e5 --- /dev/null +++ b/qtiplot-0.9.8.9-set_col_values.patch @@ -0,0 +1,17 @@ +Description: if you don't initialize the "i" variable, or initialize it to 0.0 + qtiplot won't let you set the column values using muparser. +Author: Scott Howard <showard@debian.org> +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707736 + +Index: qtiplot/qtiplot/src/table/Table.cpp +=================================================================== +--- qtiplot-0.9.8.9/qtiplot/src/table/Table.cpp 2013-06-08 02:06:35.550201324 -0400 +@@ -564,7 +564,7 @@ + QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); + + muParserScript *mup = new muParserScript(scriptEnv, cmd, this, QString("<%1>").arg(colName(col))); +- double *r = mup->defineVariable("i"); ++ double *r = mup->defineVariable("i",startRow + 1.0); + mup->defineVariable("j", (double)col); + mup->defineVariable("sr", startRow + 1.0); + mup->defineVariable("er", endRow + 1.0); |