summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 0dc822d..9aa0c77 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -72,21 +72,21 @@ void AdvancedFm::tabChanged(QWidget *wd) {
72 // qDebug("tabChanged"); 72 // qDebug("tabChanged");
73 if(wd == tab) { 73 if(wd == tab) {
74 whichTab = 1; 74 whichTab = 1;
75 viewMenu->setItemChecked(viewMenu->idAt(0), true);
76 viewMenu->setItemChecked(viewMenu->idAt(1), false);
75 // qDebug("tabchanged: LOCAL VIEW SHOWN"); 77 // qDebug("tabchanged: LOCAL VIEW SHOWN");
76 } 78 }
77 else if(wd == tab_2) { 79 else if(wd == tab_2) {
78 whichTab = 2; 80 whichTab = 2;
81 viewMenu->setItemChecked(viewMenu->idAt(0), false);
82 viewMenu->setItemChecked(viewMenu->idAt(1), true);
79 // qDebug("tabchanged: REMOTE VIEW SHOWN"); 83 // qDebug("tabchanged: REMOTE VIEW SHOWN");
80 } 84 }
81 qApp->processEvents(); 85 qApp->processEvents();
82 QString path = CurrentDir()->canonicalPath(); 86 QString path = CurrentDir()->canonicalPath();
83 // qDebug(path); 87 // qDebug(path);
84 if ( TabWidget->currentWidget() == tab) { 88 if ( TabWidget->currentWidget() == tab) {
85 viewMenu->setItemChecked(viewMenu->idAt(0), true);
86 viewMenu->setItemChecked(viewMenu->idAt(1), false);
87 } else { 89 } else {
88 viewMenu->setItemChecked(viewMenu->idAt(0), false);
89 viewMenu->setItemChecked(viewMenu->idAt(1), true);
90 } 90 }
91 91
92 chdir( path.latin1()); 92 chdir( path.latin1());
@@ -365,7 +365,7 @@ void AdvancedFm::keyReleaseEvent( QKeyEvent *e) {
365 // qDebug("shout!"); 365 // qDebug("shout!");
366 } 366 }
367 367
368 else if( e->key() == Key_Left ) 368 else if( e->key() == Key_Left )
369 upDir(); 369 upDir();
370 else if( e->key() == Key_Return || e->key() == Key_Enter) 370 else if( e->key() == Key_Return || e->key() == Key_Enter)
371 navigateToSelected(); 371 navigateToSelected();