summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-07 21:11:13 (UTC)
committer llornkcor <llornkcor>2004-07-07 21:11:13 (UTC)
commitdebb74bbf33b42d1ad38f4437cf9ad054978d71b (patch) (unidiff)
treecc34b697970b78c5573700057088b18c53e3c781
parent8ff360bd5e136aba5a9c1b340040ecaf0fc6e0d4 (diff)
downloadopie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.zip
opie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.tar.gz
opie-debb74bbf33b42d1ad38f4437cf9ad054978d71b.tar.bz2
hide path combo if on config tab
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/opieftp.cpp3
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
@@ -367,6 +367,7 @@ void OpieFtp::tabChanged(QWidget *)
367 cdUpButton->show(); 367 cdUpButton->show();
368 if(homeButton->isHidden()) 368 if(homeButton->isHidden())
369 homeButton->show(); 369 homeButton->show();
370 if(currentPathCombo->isHidden()) currentPathCombo->show();
370 371
371 } 372 }
372 if (TabWidget->currentPageIndex() == 1) { 373 if (TabWidget->currentPageIndex() == 1) {
@@ -377,6 +378,7 @@ void OpieFtp::tabChanged(QWidget *)
377 if(cdUpButton->isHidden()) 378 if(cdUpButton->isHidden())
378 cdUpButton->show(); 379 cdUpButton->show();
379 homeButton->hide(); 380 homeButton->hide();
381 if(currentPathCombo->isHidden()) currentPathCombo->show();
380 382
381 } 383 }
382 if (TabWidget->currentPageIndex() == 2) { 384 if (TabWidget->currentPageIndex() == 2) {
@@ -385,6 +387,7 @@ void OpieFtp::tabChanged(QWidget *)
385 tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); 387 tabMenu->setItemChecked(tabMenu->idAt(1),FALSE);
386 cdUpButton->hide(); 388 cdUpButton->hide();
387 homeButton->hide(); 389 homeButton->hide();
390 if(!currentPathCombo->isHidden()) currentPathCombo->hide();
388 } 391 }
389} 392}
390 393