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,9 +87,11 @@ class AddFeedController: AddFeedWindowControllerDelegate {
|
|||||||
case AccountError.createErrorNotFound:
|
case AccountError.createErrorNotFound:
|
||||||
self.showNoFeedsErrorMessage()
|
self.showNoFeedsErrorMessage()
|
||||||
default:
|
default:
|
||||||
|
DispatchQueue.main.async {
|
||||||
NSApplication.shared.presentError(error)
|
NSApplication.shared.presentError(error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user