author | llornkcor <llornkcor> | 2002-10-06 20:59:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-06 20:59:04 (UTC) |
commit | 2623a1e2fddf0bfb91191ea7224f016032336ed5 (patch) (side-by-side diff) | |
tree | 3ee4d0330368bc3508778298b907ade1cfdf0ac1 /noncore | |
parent | e334186122e512a57bd27026014f01f501db93fc (diff) | |
download | opie-2623a1e2fddf0bfb91191ea7224f016032336ed5.zip opie-2623a1e2fddf0bfb91191ea7224f016032336ed5.tar.gz opie-2623a1e2fddf0bfb91191ea7224f016032336ed5.tar.bz2 |
fix select and scroll
-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); |