-rw-r--r-- | noncore/apps/opie-console/BUGS | 3 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 22 |
2 files changed, 22 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/BUGS b/noncore/apps/opie-console/BUGS index 8195dc5..694bc8b 100644 --- a/noncore/apps/opie-console/BUGS +++ b/noncore/apps/opie-console/BUGS | |||
@@ -30,3 +30,6 @@ connection its used on | |||
30 | - keys button | 30 | - keys button |
31 | 31 | ||
32 | - dial dialog - ugly , better use a qlineedit there to for showing or | ||
33 | disable | ||
34 | |||
32 | - exit / strg + d does not close conection / tab \ No newline at end of file | 35 | - exit / strg + d does not close conection / tab \ No newline at end of file |
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index c7750be..406586c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -338,4 +338,7 @@ void MainWindow::slotConnect() { | |||
338 | m_disconnect->setEnabled( true ); | 338 | m_disconnect->setEnabled( true ); |
339 | m_transfer->setEnabled( true ); | 339 | m_transfer->setEnabled( true ); |
340 | m_recordScript->setEnabled( true ); | ||
341 | m_saveScript->setEnabled( true ); | ||
342 | m_runScript->setEnabled( true ); | ||
340 | } | 343 | } |
341 | } | 344 | } |
@@ -348,4 +351,7 @@ void MainWindow::slotDisconnect() { | |||
348 | m_disconnect->setEnabled( false ); | 351 | m_disconnect->setEnabled( false ); |
349 | m_transfer->setEnabled( false ); | 352 | m_transfer->setEnabled( false ); |
353 | m_recordScript->setEnabled( false); | ||
354 | m_saveScript->setEnabled( false ); | ||
355 | m_runScript->setEnabled( false ); | ||
350 | } | 356 | } |
351 | } | 357 | } |
@@ -434,10 +440,10 @@ void MainWindow::create( const Profile& prof ) { | |||
434 | m_disconnect->setEnabled( false ); | 440 | m_disconnect->setEnabled( false ); |
435 | m_terminate->setEnabled( true ); | 441 | m_terminate->setEnabled( true ); |
436 | m_recordScript->setEnabled( true ); | ||
437 | m_saveScript->setEnabled( true ); | ||
438 | m_runScript->setEnabled( true ); | ||
439 | m_fullscreen->setEnabled( true ); | 442 | m_fullscreen->setEnabled( true ); |
440 | m_closewindow->setEnabled( true ); | 443 | m_closewindow->setEnabled( true ); |
441 | m_transfer->setEnabled( false ); | 444 | m_transfer->setEnabled( false ); |
445 | m_recordScript->setEnabled( false ); | ||
446 | m_saveScript->setEnabled( false ); | ||
447 | m_runScript->setEnabled( false ); | ||
442 | 448 | ||
443 | // is io_layer wants direct connection, then autoconnect | 449 | // is io_layer wants direct connection, then autoconnect |
@@ -491,7 +497,13 @@ void MainWindow::slotSessionChanged( Session* ses ) { | |||
491 | m_connect->setEnabled( false ); | 497 | m_connect->setEnabled( false ); |
492 | m_disconnect->setEnabled( true ); | 498 | m_disconnect->setEnabled( true ); |
499 | m_recordScript->setEnabled( true ); | ||
500 | m_saveScript->setEnabled( true ); | ||
501 | m_runScript->setEnabled( true ); | ||
493 | } else { | 502 | } else { |
494 | m_connect->setEnabled( true ); | 503 | m_connect->setEnabled( true ); |
495 | m_disconnect->setEnabled( false ); | 504 | m_disconnect->setEnabled( false ); |
505 | m_recordScript->setEnabled( false ); | ||
506 | m_saveScript->setEnabled( false ); | ||
507 | m_runScript->setEnabled( false ); | ||
496 | } | 508 | } |
497 | 509 | ||
@@ -502,4 +514,8 @@ void MainWindow::slotSessionChanged( Session* ses ) { | |||
502 | } | 514 | } |
503 | 515 | ||
516 | |||
517 | |||
518 | |||
519 | |||
504 | QWidget *w = m_curSession->widget(); | 520 | QWidget *w = m_curSession->widget(); |
505 | if(w) w->setFocus(); | 521 | if(w) w->setFocus(); |