mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
Call completion if even it if we don't initialize the command. Fixes #3092
This commit is contained in:
parent
802dd503d6
commit
4523a28d67
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user