Commit 74153261 authored by whitlocb's avatar whitlocb

Fix comma typo in average_over_time expression.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16672 18c085ea-50e0-402c-830e-de6fd14e8384
parent 2420baaf
......@@ -607,10 +607,10 @@ QvisExpressionsWindow::CreateWindowContents()
// tab 1 -> standard editor
CreateStandardEditor();
editorTabs->addTab(stdEditorWidget, "Standard Editor");
editorTabs->addTab(stdEditorWidget, tr("Standard Editor"));
// tab 2 -> python filter editor
CreatePythonFilterEditor();
editorTabs->addTab(pyEditorWidget, "Python Expression Editor");
editorTabs->addTab(pyEditorWidget, tr("Python Expression Editor"));
definitionLayout->addWidget(editorTabs,row,0,1,2);
......@@ -1073,7 +1073,7 @@ QvisExpressionsWindow::addExpression()
QString newName;
while (!okay)
{
newName.sprintf("unnamed%d", newid);
newName = tr("unnamed%1").arg(newid);
if ((*exprList)[newName.toStdString().c_str()])
newid++;
else
......@@ -1267,7 +1267,7 @@ QvisExpressionsWindow::nameTextChanged(const QString &text)
bool okay = false;
while (!okay)
{
newname.sprintf("unnamed%d", newid);
newname = tr("unnamed%1").arg(newid);
if ((*exprList)[newname.toStdString().c_str()])
newid++;
else
......@@ -1717,7 +1717,7 @@ QvisExpressionsWindow::ExpandFunction(const QString &func_name)
else if(func_name == "average_over_time" || func_name == "min_over_time"
|| func_name == "max_over_time" || func_name == "sum_over_time")
{
res += QString("(<var>, [, \"pos_cmfe\", <fillvar-for-uncovered-regions>] [, start-time-index, stop-time-index, stride])");
res += QString("(<var> [, \"pos_cmfe\", <fillvar-for-uncovered-regions>] [, start-time-index, stop-time-index, stride])");
doParens = false;
}
else if(func_name == "last_cycle_when_condition_is_true" ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment