move use of contextTask out of columns, into commands
This commit is contained in:
committed by
Tomas Babej
parent
e98b61f2b5
commit
6e9ad1048d
@@ -36,8 +36,6 @@
|
||||
#include <utf8.h>
|
||||
#include <util.h>
|
||||
|
||||
extern Task* contextTask;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
ColumnProject::ColumnProject ()
|
||||
{
|
||||
@@ -121,9 +119,6 @@ void ColumnProject::modify (Task& task, const std::string& value)
|
||||
{
|
||||
Eval e;
|
||||
e.addSource (domSource);
|
||||
if (!task.is_empty ()) {
|
||||
contextTask = &task;
|
||||
}
|
||||
|
||||
Variant v;
|
||||
e.evaluateInfixExpression (value, v);
|
||||
|
||||
Reference in New Issue
Block a user