mirror of https://github.com/PatrickLipka/tt.git
Added saveing to corner case of at
This commit is contained in:
parent
3f993fdab0
commit
e30e009537
|
@ -499,6 +499,7 @@ void command_at(std::string input, int wtime, ProjectList *proj_list){
|
|||
if(id >= 0){
|
||||
proj->tasks[id].add_time(wtime);
|
||||
std::cout << wtime << "s added to task " << proj->name << "/" << proj->tasks[id].name << std::endl;
|
||||
command_save(proj_list);
|
||||
}else{
|
||||
std::cout << "Task " << underscore_to_space(input) << " does not exist." << std::endl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue