From 66317361178778540508bcb8ac903aaef6dcb584 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Tue, 4 Jan 2011 09:05:18 +0000 Subject: fix regression issue in violations drilldown: reload sources when selecting a new file --- .../sonar/plugins/core/violationsviewer/client/ViolationsViewer.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/sonar-core-gwt') diff --git a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java index 137ad9f37eb..71f43a8d315 100644 --- a/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java +++ b/plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java @@ -65,6 +65,8 @@ public class ViolationsViewer extends Page { mainPanel.setWidth("100%"); mainPanel.setStyleName("gwt-Violations"); + sourcePanel = null; // reload sources when selecting a new file + header = new Grid(1, 5); header.setWidth("100%"); header.setStylePrimaryName("gwt-ViewerHeader"); -- cgit v1.2.3