author | llornkcor <llornkcor> | 2004-07-07 21:11:13 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-07-07 21:11:13 (UTC) |
commit | debb74bbf33b42d1ad38f4437cf9ad054978d71b (patch) (side-by-side diff) | |
tree | cc34b697970b78c5573700057088b18c53e3c781 /noncore/net/opieftp/opieftp.cpp | |
parent | 8ff360bd5e136aba5a9c1b340040ecaf0fc6e0d4 (diff) | |
download | opie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.zip opie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.tar.gz opie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.tar.bz2 |
hide path combo if on config tab
Diffstat (limited to 'noncore/net/opieftp/opieftp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 58ffe3a..b703217 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -364,30 +364,33 @@ void OpieFtp::tabChanged(QWidget *) tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); tabMenu->setItemChecked(tabMenu->idAt(2),FALSE); if(cdUpButton->isHidden()) cdUpButton->show(); if(homeButton->isHidden()) homeButton->show(); + if(currentPathCombo->isHidden()) currentPathCombo->show(); } if (TabWidget->currentPageIndex() == 1) { currentPathCombo->lineEdit()->setText( currentRemoteDir ); tabMenu->setItemChecked(tabMenu->idAt(1),TRUE); tabMenu->setItemChecked(tabMenu->idAt(0),FALSE); tabMenu->setItemChecked(tabMenu->idAt(2),FALSE); if(cdUpButton->isHidden()) cdUpButton->show(); homeButton->hide(); + if(currentPathCombo->isHidden()) currentPathCombo->show(); } if (TabWidget->currentPageIndex() == 2) { tabMenu->setItemChecked(tabMenu->idAt(2),TRUE); tabMenu->setItemChecked(tabMenu->idAt(0),FALSE); tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); cdUpButton->hide(); homeButton->hide(); + if(!currentPathCombo->isHidden()) currentPathCombo->hide(); } } void OpieFtp::newConnection() { UsernameComboBox->lineEdit()->setText(""); |