author | llornkcor <llornkcor> | 2002-10-06 20:59:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-06 20:59:04 (UTC) |
commit | 2623a1e2fddf0bfb91191ea7224f016032336ed5 (patch) (unidiff) | |
tree | 3ee4d0330368bc3508778298b907ade1cfdf0ac1 | |
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) { | |||
322 | populateLocalView(); | 322 | populateLocalView(); |
323 | Local_View->ensureItemVisible(Local_View->firstChild()); | ||
324 | |||
323 | } else { | 325 | } else { |
@@ -325,2 +327,3 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { | |||
325 | populateLocalView(); | 327 | populateLocalView(); |
328 | Local_View->ensureItemVisible(Local_View->firstChild()); | ||
326 | } | 329 | } |
@@ -328,2 +331,3 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { | |||
328 | currentDir.cd(strItem, TRUE); | 331 | currentDir.cd(strItem, TRUE); |
332 | Local_View->ensureItemVisible(Local_View->firstChild()); | ||
329 | populateLocalView(); | 333 | populateLocalView(); |
@@ -341,3 +345,2 @@ void AdvancedFm::localListClicked(QListViewItem *selectedItem) { | |||
341 | } | 345 | } |
342 | Local_View->ensureItemVisible(Local_View->firstChild()); | ||
343 | 346 | ||
@@ -362,2 +365,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { | |||
362 | populateRemoteView(); | 365 | populateRemoteView(); |
366 | Remote_View->ensureItemVisible(Remote_View->firstChild()); | ||
363 | } else { | 367 | } else { |
@@ -365,2 +369,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { | |||
365 | populateRemoteView(); | 369 | populateRemoteView(); |
370 | Remote_View->ensureItemVisible(Remote_View->firstChild()); | ||
366 | } | 371 | } |
@@ -369,2 +374,3 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { | |||
369 | populateRemoteView(); | 374 | populateRemoteView(); |
375 | Remote_View->ensureItemVisible(Remote_View->firstChild()); | ||
370 | } | 376 | } |
@@ -381,3 +387,2 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) { | |||
381 | } | 387 | } |
382 | Remote_View->ensureItemVisible(Remote_View->firstChild()); | ||
383 | } | 388 | } |
@@ -782,3 +787,5 @@ void AdvancedFm::showFileMenu() { | |||
782 | 787 | ||
788 | #if defined(QT_QWS_OPIE) | ||
783 | m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); | 789 | m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); |
790 | #endif | ||
784 | m->setCheckable(TRUE); | 791 | m->setCheckable(TRUE); |