Make sure that the error is displayed after the progress window is ended by doing an DispatchQueue.main.async on the error display.
This commit is contained in:
parent
807b2d3109
commit
c75dc8b54d
|
@ -87,7 +87,9 @@ class AddFeedController: AddFeedWindowControllerDelegate {
|
||||||
case AccountError.createErrorNotFound:
|
case AccountError.createErrorNotFound:
|
||||||
self.showNoFeedsErrorMessage()
|
self.showNoFeedsErrorMessage()
|
||||||
default:
|
default:
|
||||||
NSApplication.shared.presentError(error)
|
DispatchQueue.main.async {
|
||||||
|
NSApplication.shared.presentError(error)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue