author | llornkcor <llornkcor> | 2002-11-16 15:30:56 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-16 15:30:56 (UTC) |
commit | 88435a3192f09453e035a7f1cf73bbc8c24245c9 (patch) (side-by-side diff) | |
tree | b6209349129bd2f0051c6b0cc9856893efcee7ad /noncore/apps/advancedfm/advancedfm.cpp | |
parent | 1fde54b44ba888094fc47201567ea9454857f5a1 (diff) | |
download | opie-88435a3192f09453e035a7f1cf73bbc8c24245c9.zip opie-88435a3192f09453e035a7f1cf73bbc8c24245c9.tar.gz opie-88435a3192f09453e035a7f1cf73bbc8c24245c9.tar.bz2 |
fix tab switches, and inputdialog focus on edit
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 23244a2..92804b2 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -89,4 +89,7 @@ void AdvancedFm::cleanUp() { -void AdvancedFm::tabChanged(QWidget *) { - if (TabWidget->getCurrentTab() == 0) { +void AdvancedFm::tabChanged(QWidget *w) { + qDebug("tab changed %d",TabWidget->getCurrentTab()); + + if ( w == tab) { +// if (TabWidget->getCurrentTab() == 0) { // if (TabWidget->currentPageIndex() == 0) { @@ -100,3 +103,4 @@ void AdvancedFm::tabChanged(QWidget *) { } - if (TabWidget->getCurrentTab() == 1) { + if ( w == tab_2) { +// if (TabWidget->getCurrentTab() == 1) { |