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:
commit
08682197f8
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user