Deselecting a large amount of files

Discuss development issues and submit patches here

Deselecting a large amount of files

Postby enitol » Thu Aug 16, 2012 1:39 am

If I had about a thousand files selected and then clicked on one of them it would take a few seconds to deselect all the others because the listview and the status bar would update after each deselection. The same would happen if the up or down arrow was pressed.

So I made a patch for myself. I might have broken something with it but I haven't noticed any bad side-effects yet.

I expect that there's a better way to do this but I didn't want to spend too much time just trying to understand how the whole thing is designed.
Attachments
ListViewHandler.cpp.patch.7z
For revision 514
(572 Bytes) Downloaded 101 times
enitol
 
Posts: 1
Joined: Tue Aug 07, 2012 7:33 pm

Return to Development