diff --git a/src/ui/ab.tis b/src/ui/ab.tis index 6400426ad..6cdd496e0 100644 --- a/src/ui/ab.tis +++ b/src/ui/ab.tis @@ -287,4 +287,4 @@ class MultipleSessions: Reactor.Component { } } -view.on("size", function() { app.multipleSessions.onSize(); }); \ No newline at end of file +view.on("size", function() { if (app.multipleSessions) app.multipleSessions.onSize(); }); \ No newline at end of file diff --git a/src/ui/index.tis b/src/ui/index.tis index 0ad2b17d8..974640831 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -668,7 +668,7 @@ function checkConnectStatus() { } if (handler.recent_sessions_updated()) { stdout.println("recent sessions updated"); - app.multipleSessions.update(); + app.update(); } checkConnectStatus(); });