mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Don't allow the article extraction button to toggle if it isn't working.
This commit is contained in:
1 parent
7ec3160273
commit
3b5a6f2576
1 file changed
+2
-1
@@ -321,8 +321,8 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
extractor.delegate = self
|
||||
extractor.process()
|
||||
articleExtractor = extractor
|
||||
makeToolbarValidate()
|
||||
}
|
||||
makeToolbarValidate()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -695,6 +695,7 @@ private extension MainWindowController {
|
||||
guard let articleExtractorState = articleExtractor?.state else {
|
||||
articleExtractorButton.isError = false
|
||||
articleExtractorButton.isInProgress = false
|
||||
articleExtractorButton.state = .off
|
||||
return currentLink != nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user