8719: AttributeError: 'NoneType' object has no attribute 'set_cursor'
This commit is contained in:
parent
6cc3ec2eff
commit
4358bb9f94
@ -532,6 +532,7 @@ class DisplayState(Callback):
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
self.busy = value
|
self.busy = value
|
||||||
|
if self.window.get_window():
|
||||||
if value:
|
if value:
|
||||||
self.cursor = self.window.get_window().get_cursor()
|
self.cursor = self.window.get_window().get_cursor()
|
||||||
self.window.get_window().set_cursor(self.BUSY_CURSOR)
|
self.window.get_window().set_cursor(self.BUSY_CURSOR)
|
||||||
|
Loading…
Reference in New Issue
Block a user