9438: AttributeError: 'NoneType' object has no attribute 'db'
This commit is contained in:
parent
fcddb03ef1
commit
dff65e6e91
@ -565,7 +565,7 @@ class DisplayState(Callback):
|
|||||||
|
|
||||||
def modify_statusbar(self, dbstate, active=None):
|
def modify_statusbar(self, dbstate, active=None):
|
||||||
view = self.viewmanager.active_page
|
view = self.viewmanager.active_page
|
||||||
if not isinstance(view, NavigationView):
|
if not isinstance(view, NavigationView) or dbstate is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
nav_type = view.navigation_type()
|
nav_type = view.navigation_type()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user