jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1531330 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
Date Fri, 11 Oct 2013 15:15:19 GMT
Author: milamber
Date: Fri Oct 11 15:15:18 2013
New Revision: 1531330

URL: http://svn.apache.org/r1531330
Log:
"Clear All" for Aggregate Graph is not clearing the last run Graph
Not a real fix, but improves the user experience
Bugzilla Id: 55564

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java?rev=1531330&r1=1531329&r2=1531330&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
Fri Oct 11 15:15:18 2013
@@ -373,6 +373,7 @@ public class RespTimeGraphVisualizer ext
             durationTest = 0;
             colorIdx = 0;
         }
+        tabbedGraph.setSelectedIndex(0);
     }
 
     /**
@@ -517,6 +518,7 @@ public class RespTimeGraphVisualizer ext
             makeGraph();
             tabbedGraph.setSelectedIndex(1);
         } else {
+            tabbedGraph.setSelectedIndex(0);
             JOptionPane.showMessageDialog(null, msgErr, msgErr, JOptionPane.WARNING_MESSAGE);
         }
     }



Mime
View raw message