author | hash <hash> | 2002-10-24 17:39:47 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-24 17:39:47 (UTC) |
commit | b01703c4b1de7006c88aa814ca00472b966b2464 (patch) (side-by-side diff) | |
tree | 9d0f4e708646ddbf1a0198f1ac2dd4b67e2c45fa /noncore/apps/opie-console/mainwindow.cpp | |
parent | 1364899f2b250d1605e1a49cb7c65ce950c57fda (diff) | |
download | opie-b01703c4b1de7006c88aa814ca00472b966b2464.zip opie-b01703c4b1de7006c88aa814ca00472b966b2464.tar.gz opie-b01703c4b1de7006c88aa814ca00472b966b2464.tar.bz2 |
i think it loads according to the session properly now
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -404,12 +404,14 @@ void MainWindow::slotClose() { m_recordScript->setEnabled( false ); m_saveScript->setEnabled( false ); m_runScript->setEnabled( false ); m_fullscreen->setEnabled( false ); m_closewindow->setEnabled( false ); } + + m_kb->loadDefaults(); } /* * We will get the name * Then the profile * and then we will make a profile @@ -453,12 +455,14 @@ void MainWindow::create( const Profile& prof ) { } QWidget *w = currentSession()->widget(); if(w) w->setFocus(); + + m_kb->load(currentSession()->profile()); } void MainWindow::slotTransfer() { if ( currentSession() ) { TransferDialog dlg(currentSession()->widgetStack(), this); @@ -516,12 +520,14 @@ void MainWindow::slotSessionChanged( Session* ses ) { QWidget *w = m_curSession->widget(); if(w) w->setFocus(); + + m_kb->load(currentSession()->profile()); } } void MainWindow::slotFullscreen() { |