summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp6
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() {
404 m_recordScript->setEnabled( false ); 404 m_recordScript->setEnabled( false );
405 m_saveScript->setEnabled( false ); 405 m_saveScript->setEnabled( false );
406 m_runScript->setEnabled( false ); 406 m_runScript->setEnabled( false );
407 m_fullscreen->setEnabled( false ); 407 m_fullscreen->setEnabled( false );
408 m_closewindow->setEnabled( false ); 408 m_closewindow->setEnabled( false );
409 } 409 }
410
411 m_kb->loadDefaults();
410} 412}
411 413
412/* 414/*
413 * We will get the name 415 * We will get the name
414 * Then the profile 416 * Then the profile
415 * and then we will make a profile 417 * and then we will make a profile
@@ -453,12 +455,14 @@ void MainWindow::create( const Profile& prof ) {
453 } 455 }
454 456
455 457
456 458
457 QWidget *w = currentSession()->widget(); 459 QWidget *w = currentSession()->widget();
458 if(w) w->setFocus(); 460 if(w) w->setFocus();
461
462 m_kb->load(currentSession()->profile());
459} 463}
460 464
461void MainWindow::slotTransfer() 465void MainWindow::slotTransfer()
462{ 466{
463 if ( currentSession() ) { 467 if ( currentSession() ) {
464 TransferDialog dlg(currentSession()->widgetStack(), this); 468 TransferDialog dlg(currentSession()->widgetStack(), this);
@@ -516,12 +520,14 @@ void MainWindow::slotSessionChanged( Session* ses ) {
516 520
517 521
518 522
519 523
520 QWidget *w = m_curSession->widget(); 524 QWidget *w = m_curSession->widget();
521 if(w) w->setFocus(); 525 if(w) w->setFocus();
526
527 m_kb->load(currentSession()->profile());
522 } 528 }
523} 529}
524 530
525void MainWindow::slotFullscreen() { 531void MainWindow::slotFullscreen() {
526 532
527 533