summaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-gwt
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-01-04 09:05:18 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2011-01-04 09:05:18 +0000
commit66317361178778540508bcb8ac903aaef6dcb584 (patch)
tree0b7099ac3ffb26da86e68c6ae42b90510cae9207 /plugins/sonar-core-gwt
parentdc12062ab2615a19de17980c290965027b10e9de (diff)
downloadsonarqube-66317361178778540508bcb8ac903aaef6dcb584.tar.gz
sonarqube-66317361178778540508bcb8ac903aaef6dcb584.zip
fix regression issue in violations drilldown: reload sources when selecting a new file
Diffstat (limited to 'plugins/sonar-core-gwt')
-rw-r--r--plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java2
1 files changed, 2 insertions, 0 deletions
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");