Skip to content

Commit

Permalink
Replace the default false value
Browse files Browse the repository at this point in the history
Replace it to getImportance in newTask of UpdateCommand
  • Loading branch information
SukiTsang committed Oct 19, 2016
1 parent aa22364 commit 9e1bc7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/seedu/task/logic/commands/UpdateCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public CommandResult execute() {

Task newTask = new Task(
updatedTaskName,
newTaskTags,false
newTaskTags,
taskToUpdate.getImportance()
);

assert model != null;
Expand Down

0 comments on commit 9e1bc7b

Please sign in to comment.