Commit 040ab7ab authored by Alexander Semke's avatar Alexander Semke
Browse files

Properly propagate the current expression to Worksheet::gotResult()....

Properly propagate the current expression to Worksheet::gotResult(). Regression introduced in 71be13f0.
parent 192d4fd8
......@@ -705,7 +705,7 @@ bool CommandEntry::evaluate(EvaluationOption evalOp)
}
Cantor::Expression* expr = worksheet()->session()->evaluateExpression(cmd);
connect(expr, &Cantor::Expression::gotResult, this, [=]() { worksheet()->gotResult(); });
connect(expr, &Cantor::Expression::gotResult, this, [=]() { worksheet()->gotResult(expr); });
setExpression(expr);
......
Supports Markdown
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