1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 11:25:35 +02:00

[420837] EVENT_ICON_CHANGE should not be handled with a refresh()

This commit is contained in:
Dave McKnight 2013-11-01 08:31:33 -04:00
parent 4801482a14
commit 5ad3723633

View file

@ -89,6 +89,7 @@
* David McKnight (IBM) - [404396] delete doesn't always properly unmap tree items in SystemView
* David McKnight (IBM) - [411398] SystemView event handling for icon changes needs to handle multi-source
* Yang Yang (IBM) - [420578] Refresh action on connection level after a file deletion results in a problem occurred pop-up
* David McKnight (IBM) - [420837] EVENT_ICON_CHANGE should not be handled with a refresh()
********************************************************************************/
package org.eclipse.rse.internal.ui.view;
@ -2242,7 +2243,7 @@ public class SystemView extends SafeTreeViewer
if (initViewerFilters != null && initViewerFilters.length > 0) {
w = findItem(srcs[s]);
if (w == null) {
refresh(parent);
// refresh(parent); - don't refresh since this can cause an infinite cycle of refreshes!
} else {
properties[0] = IBasicPropertyConstants.P_IMAGE;
update(srcObj, properties); // for refreshing non-structural properties in viewer when model changes