Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2020-06-23 15:07:15 +0000
committerThomas Wolf2020-06-23 15:17:05 +0000
commit07aa153f5d35215f6a7394edf6936c394507085d (patch)
treec2889f59b62f01d64015a8a8e73bd9a8399fc225 /org.eclipse.egit.ui.test
parentb530c0dad1ed512d9259624498d599e41be1a28c (diff)
downloadegit-master.tar.gz
egit-master.tar.xz
egit-master.zip
[staging] Clear and restore selection when refreshingHEADmaster
Clear the selection before refreshing a view, and re-set it afterwards. refreshViewersInternal() is always called inside a setRedraw(false), so this has no visible effects. But it greatly simplifies the work of viewer.refresh(), which might otherwise try to re-set the selection too many times, which causes quadratic behavior when the presentation is switched from tree view to list view or vice versa while there is a selection. Bug: 519231 Change-Id: Ib684b15642aeb8bc5ec8a357db7a8546732a48cd Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test')
0 files changed, 0 insertions, 0 deletions

Back to the top