mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Don't allow the article extraction button to toggle if it isn't working.
This commit is contained in:
@@ -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