From de91a161b1555bca58c4c30c6367dcc38750ca17 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 23 Oct 2015 17:59:00 +0700 Subject: Populated session panel. Now able to switch session within the new panel. *** NOTE *** In this commit both the old and new session managers are active, therefore funny things occasionally happen. Then won't be the case from the next commit since the old session manager will be disabled. Signed-off-by: Michele Calgaro --- kate/app/kateappIface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kate/app/kateappIface.cpp') diff --git a/kate/app/kateappIface.cpp b/kate/app/kateappIface.cpp index 259e48b89..57f0b63d1 100644 --- a/kate/app/kateappIface.cpp +++ b/kate/app/kateappIface.cpp @@ -91,14 +91,14 @@ bool KateAppDCOPIface::openInput (TQString text) bool KateAppDCOPIface::activateSession (TQString session) { - m_app->sessionManager()->activateSession (m_app->sessionManager()->giveSession (session)); + m_app->oldSessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); return true; } const TQString & KateAppDCOPIface::session() const { - return m_app->sessionManager()->activeSession()->sessionName(); + return m_app->oldSessionManager()->activeSession()->sessionName(); } // kate: space-indent on; indent-width 2; replace-tabs on; -- cgit v1.2.1