mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 05:30:23 +02:00
Enhancement - undo
- Now creates/opens/closes undo.data file. - All new tasks are logged in undo.data file.
This commit is contained in:
parent
58d7de8478
commit
c29682b91f
4 changed files with 41 additions and 6 deletions
|
@ -32,6 +32,7 @@ Location::Location ()
|
|||
: path ("")
|
||||
, pending (NULL)
|
||||
, completed (NULL)
|
||||
, undo (NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -47,6 +48,7 @@ Location::Location (const Location& other)
|
|||
path = other.path;
|
||||
pending = other.pending;
|
||||
completed = other.completed;
|
||||
undo = other.undo;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -57,6 +59,7 @@ Location& Location::operator= (const Location& other)
|
|||
path = other.path;
|
||||
pending = other.pending;
|
||||
completed = other.completed;
|
||||
undo = other.undo;
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue