TS-24: add review option (m)odify

- Thanks to David Patrick.
This commit is contained in:
Paul Beckingham 2016-01-11 15:05:26 -05:00
parent 70d9870611
commit 205a3984d2
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
1.1.0 () -
- TS-24 add review option (m)odify (thanks to David Patrick).
- Implemented 'review' command.
- Implemented 'diag' command.
- Added 'review N' option, to specify the number of tasks you would like to

View file

@ -204,7 +204,7 @@ static void reviewLoop (const std::vector <std::string>& uuids, int limit)
// Display prompt, get input.
auto response = getResponse (menu ());
if (response == "e") { editTask (uuid); ++current; ++reviewed; }
if (response == "e") { editTask (uuid); }
else if (response == "s") { std::cout << "Skipped\n\n"; ++current; }
else if (response == "c") { completeTask (uuid); ++current; ++reviewed; }
else if (response == "d") { deleteTask (uuid); ++current; ++reviewed; }