aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Downloading files in "Search result" if sort order is "Status"  (Read 2372 times)

DarkNRG

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4

I cannot download more than one search result at once if the sorting order is "Status", because in CSearchListCtrl::DownloadSelected()  the UpdateResult() method resorts / refreshes the result table and therefore looses all selections, so the next call to GetNextItem() inside the loop has nothing to return.

A workaround would be to collect all currently selected files in a vector first via a simple GetNextItem() loop, and then process the files of this vector.

PS: I'm using the SVN version 9505.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Downloading files in "Search result" if sort order is "Status"
« Reply #1 on: March 15, 2009, 02:49:24 PM »

Fixed in 9515, thank you for reporting!
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon