Merge pull request #1180 from xiaomj/master

Fix bug: Undo / Redo of Starred and Flagged rows not working - load wrong new value for RowFlagChange
This commit is contained in:
Thad Guidry 2017-03-15 21:45:56 -05:00 committed by GitHub
commit 08682197f8
2 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,7 @@ public class RowFlagChange implements Change {
} else if ("oldFlagged".equals(field)) {
oldFlagged = Boolean.parseBoolean(value);
} else if ("newFlagged".equals(field)) {
oldFlagged = Boolean.parseBoolean(value);
newFlagged = Boolean.parseBoolean(value);
}
}
@ -102,4 +102,4 @@ public class RowFlagChange implements Change {
return change;
}
}
}

View File

@ -93,7 +93,7 @@ public class RowStarChange implements Change {
} else if ("oldStarred".equals(field)) {
oldStarred = Boolean.parseBoolean(value);
} else if ("newStarred".equals(field)) {
oldStarred = Boolean.parseBoolean(value);
newStarred = Boolean.parseBoolean(value);
}
}
@ -102,4 +102,4 @@ public class RowStarChange implements Change {
return change;
}
}
}