From debb74bbf33b42d1ad38f4437cf9ad054978d71b Mon Sep 17 00:00:00 2001 From: llornkcor Date: Wed, 07 Jul 2004 21:11:13 +0000 Subject: hide path combo if on config tab --- (limited to 'noncore/net/opieftp') 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 *) cdUpButton->show(); if(homeButton->isHidden()) homeButton->show(); + if(currentPathCombo->isHidden()) currentPathCombo->show(); } if (TabWidget->currentPageIndex() == 1) { @@ -377,6 +378,7 @@ void OpieFtp::tabChanged(QWidget *) if(cdUpButton->isHidden()) cdUpButton->show(); homeButton->hide(); + if(currentPathCombo->isHidden()) currentPathCombo->show(); } if (TabWidget->currentPageIndex() == 2) { @@ -385,6 +387,7 @@ void OpieFtp::tabChanged(QWidget *) tabMenu->setItemChecked(tabMenu->idAt(1),FALSE); cdUpButton->hide(); homeButton->hide(); + if(!currentPathCombo->isHidden()) currentPathCombo->hide(); } } -- cgit v0.9.0.2