8719: AttributeError: 'NoneType' object has no attribute 'set_cursor'

This commit is contained in:
Doug Blank 2015-07-20 07:55:10 -04:00
parent 6cc3ec2eff
commit 4358bb9f94

View File

@ -532,6 +532,7 @@ class DisplayState(Callback):
return
else:
self.busy = value
if self.window.get_window():
if value:
self.cursor = self.window.get_window().get_cursor()
self.window.get_window().set_cursor(self.BUSY_CURSOR)