diff --git a/src/DisplayState.py b/src/DisplayState.py index 83406035c..bfcd11443 100644 --- a/src/DisplayState.py +++ b/src/DisplayState.py @@ -413,7 +413,7 @@ class DisplayState(gen.utils.Callback): navigation type and group. """ history = self.get_history(nav_type, nav_group) - return history.present() + return history.present() if history else None def set_active(self, handle, nav_type, nav_group=0): """