summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 5f6dc12..e3c3c38 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -452,3 +452,10 @@ void MainWindow::slotConnect() {
452 m_disconnect->setEnabled( true ); 452 m_disconnect->setEnabled( true );
453 m_transfer->setEnabled( true ); 453
454 // if it does not support file transfer, disable the menu entry
455 if ( ( m_curSession->layer() )->supports()[1] == 0 ) {
456 m_transfer->setEnabled( false );
457 } else {
458 m_transfer->setEnabled( true );
459 }
460
454 m_recordScript->setEnabled( true ); 461 m_recordScript->setEnabled( true );
@@ -573,3 +580,2 @@ void MainWindow::create( const Profile& prof ) {
573 580
574
575 QWidget *w = currentSession()->widget(); 581 QWidget *w = currentSession()->widget();