[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Keep Selection when refreshing

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-04-17 10:50:03 CEST

Hi Stefan,

whenever a SVNStatusList gets refreshed (F5, Drag and Drop in the commit
dialog), the current selection gets lost, i.e. manually deselected versioned
items or manually selected non-versioned items.
This is rather annoying when you have chosen single items to commit and need
to refresh.

This patch solves this. Manually de-/selected items are restored in their
previous state. If new items appear (new non-versioned item, versioned item
gets modified/deleted etc) they get the selection state they would get if the
dialog was closed and reopened.

I don't like removing the "const" from AddEntry(...) but it makes the
implementation so much easier. Could you please review. Ok to commit?

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Mon Apr 17 10:54:13 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.