From b01703c4b1de7006c88aa814ca00472b966b2464 Mon Sep 17 00:00:00 2001 From: hash Date: Thu, 24 Oct 2002 17:39:47 +0000 Subject: i think it loads according to the session properly now --- (limited to 'noncore/apps/opie-console/mainwindow.cpp') diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index b177fa5..745efaf 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -407,6 +407,8 @@ void MainWindow::slotClose() { m_fullscreen->setEnabled( false ); m_closewindow->setEnabled( false ); } + + m_kb->loadDefaults(); } /* @@ -456,6 +458,8 @@ void MainWindow::create( const Profile& prof ) { QWidget *w = currentSession()->widget(); if(w) w->setFocus(); + + m_kb->load(currentSession()->profile()); } void MainWindow::slotTransfer() @@ -519,6 +523,8 @@ void MainWindow::slotSessionChanged( Session* ses ) { QWidget *w = m_curSession->widget(); if(w) w->setFocus(); + + m_kb->load(currentSession()->profile()); } } -- cgit v0.9.0.2