diff --git a/Mac/Resources/NetNewsWire.sdef b/Mac/Resources/NetNewsWire.sdef index 56feb0dcf..c025b6e1d 100644 --- a/Mac/Resources/NetNewsWire.sdef +++ b/Mac/Resources/NetNewsWire.sdef @@ -202,10 +202,10 @@ - + - + diff --git a/Mac/Scriptability/Article+Scriptability.swift b/Mac/Scriptability/Article+Scriptability.swift index 75b2d7d61..eca5bb971 100644 --- a/Mac/Scriptability/Article+Scriptability.swift +++ b/Mac/Scriptability/Article+Scriptability.swift @@ -107,12 +107,22 @@ class ScriptableArticle: NSObject, UniqueIdScriptingObject, ScriptingObjectConta @objc(read) var read:Bool { - return article.status.boolStatus(forKey:.read) + get { + return article.status.boolStatus(forKey:.read) + } + set { + markArticles([self.article], statusKey: .read, flag: newValue) + } } @objc(starred) var starred:Bool { - return article.status.boolStatus(forKey:.starred) + get { + return article.status.boolStatus(forKey:.starred) + } + set { + markArticles([self.article], statusKey: .starred, flag: newValue) + } } @objc(deleted)