mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Call completion if even it if we don't initialize the command. Fixes #3092
This commit is contained in:
@@ -27,6 +27,7 @@ final class MarkStatusCommand: UndoableCommand {
|
||||
// Filter out articles that already have the desired status or can't be marked.
|
||||
let articlesToMark = MarkStatusCommand.filteredArticles(initialArticles, statusKey, flag)
|
||||
if articlesToMark.isEmpty {
|
||||
completion?()
|
||||
return nil
|
||||
}
|
||||
self.articles = Set(articlesToMark)
|
||||
|
||||
Reference in New Issue
Block a user