Diffstat (limited to 'noncore/net/opieftp/opieftp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 6a3a64d..118275b 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp | |||
@@ -106,2 +106,3 @@ OpieFtp::OpieFtp( ) | |||
106 | tabMenu->insertItem( tr( "Switch to Config" ), this, SLOT( switchToConfigTab() )); | 106 | tabMenu->insertItem( tr( "Switch to Config" ), this, SLOT( switchToConfigTab() )); |
107 | tabMenu->setCheckable(TRUE); | ||
107 | 108 | ||
@@ -262,2 +263,5 @@ void OpieFtp::tabChanged(QWidget *w) | |||
262 | currentPathEdit->setText( currentDir.canonicalPath()); | 263 | currentPathEdit->setText( currentDir.canonicalPath()); |
264 | tabMenu->setItemChecked(tabMenu->idAt(0),TRUE); | ||
265 | tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); | ||
266 | tabMenu->setItemChecked(tabMenu->idAt(2),FALSE); | ||
263 | } | 267 | } |
@@ -265,4 +269,10 @@ void OpieFtp::tabChanged(QWidget *w) | |||
265 | currentPathEdit->setText( currentRemoteDir ); | 269 | currentPathEdit->setText( currentRemoteDir ); |
270 | tabMenu->setItemChecked(tabMenu->idAt(1),TRUE); | ||
271 | tabMenu->setItemChecked(tabMenu->idAt(0),FALSE); | ||
272 | tabMenu->setItemChecked(tabMenu->idAt(2),FALSE); | ||
266 | } | 273 | } |
267 | if (TabWidget->currentPageIndex() == 2) { | 274 | if (TabWidget->currentPageIndex() == 2) { |
275 | tabMenu->setItemChecked(tabMenu->idAt(2),TRUE); | ||
276 | tabMenu->setItemChecked(tabMenu->idAt(0),FALSE); | ||
277 | tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); | ||
268 | } | 278 | } |