Skip clearing undo stack when timeline view changes articles. Fix #341.
This commit is contained in:
parent
2495a882ee
commit
46e0f781f8
|
@ -32,7 +32,6 @@ class TimelineViewController: NSViewController, UndoableCommandRunner {
|
||||||
var articles = ArticleArray() {
|
var articles = ArticleArray() {
|
||||||
didSet {
|
didSet {
|
||||||
if articles != oldValue {
|
if articles != oldValue {
|
||||||
clearUndoableCommands()
|
|
||||||
updateShowAvatars()
|
updateShowAvatars()
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue