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):
|
||||
view = self.viewmanager.active_page
|
||||
if not isinstance(view, NavigationView):
|
||||
if not isinstance(view, NavigationView) or dbstate is None:
|
||||
return
|
||||
|
||||
nav_type = view.navigation_type()
|
||||
|
Loading…
Reference in New Issue
Block a user