-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 3aa516c..ec475a4 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -322,2 +322,4 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { populateLocalView(); + Local_View->ensureItemVisible(Local_View->firstChild()); + } else { @@ -325,2 +327,3 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { populateLocalView(); + Local_View->ensureItemVisible(Local_View->firstChild()); } @@ -328,2 +331,3 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { currentDir.cd(strItem, TRUE); + Local_View->ensureItemVisible(Local_View->firstChild()); populateLocalView(); @@ -341,3 +345,2 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { } - Local_View->ensureItemVisible(Local_View->firstChild()); @@ -362,2 +365,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { populateRemoteView(); + Remote_View->ensureItemVisible(Remote_View->firstChild()); } else { @@ -365,2 +369,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { populateRemoteView(); + Remote_View->ensureItemVisible(Remote_View->firstChild()); } @@ -369,2 +374,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { populateRemoteView(); + Remote_View->ensureItemVisible(Remote_View->firstChild()); } @@ -381,3 +387,2 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { } - Remote_View->ensureItemVisible(Remote_View->firstChild()); } @@ -782,3 +787,5 @@ void AdvancedFm::showFileMenu() { +#if defined(QT_QWS_OPIE) m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); +#endif m->setCheckable(TRUE); |