summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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 49f9653..afac542 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -436,4 +436,7 @@ void MainWindow::create( const Profile& prof ) {
slotConnect();
}
+
+ QWidget *w = currentSession()->widget();
+ if(w) w->setFocus();
}
@@ -480,4 +483,7 @@ void MainWindow::slotSessionChanged( Session* ses ) {
m_disconnect->setEnabled( false );
}
+
+ QWidget *w = m_curSession->widget();
+ if(w) w->setFocus();
}
}