Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 3066b35..fdb0452 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -398,6 +398,11 @@ void MainWindow::create( const Profile& prof ) { | |||
398 | tabWidget()->add( ses ); | 398 | tabWidget()->add( ses ); |
399 | m_curSession = ses; | 399 | m_curSession = ses; |
400 | 400 | ||
401 | // is io_layer wants direct connection, then autoconnect | ||
402 | if ( ( m_curSession->layer() )->supports()[0] = 1 ) { | ||
403 | slotConnect(); | ||
404 | } | ||
405 | |||
401 | // dicide if its a local term ( then no connction and no tranfer), maybe make a wrapper method out of it | 406 | // dicide if its a local term ( then no connction and no tranfer), maybe make a wrapper method out of it |
402 | m_connect->setEnabled( true ); | 407 | m_connect->setEnabled( true ); |
403 | m_disconnect->setEnabled( false ); | 408 | m_disconnect->setEnabled( false ); |