jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1210102 - in /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http: config/gui/HttpDefaultsGui.java control/gui/HttpTestSampleGui.java
Date Sun, 04 Dec 2011 12:48:24 GMT
Author: milamber
Date: Sun Dec  4 12:48:24 2011
New Revision: 1210102

URL: http://svn.apache.org/viewvc?rev=1210102&view=rev
Log:
Fix a little GUI issue when Concurrent download is checked but not enabled, the Nb pool was
editable

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java?rev=1210102&r1=1210101&r2=1210102&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
Sun Dec  4 12:48:24 2011
@@ -151,7 +151,7 @@ public class HttpDefaultsGui extends Abs
         concurrentDwn = new JCheckBox(JMeterUtils.getResString("web_testing_concurrent_download"));
// $NON-NLS-1$
         concurrentDwn.addItemListener(new ItemListener() {
             public void itemStateChanged(final ItemEvent e) {
-                if (e.getStateChange() == ItemEvent.SELECTED) { concurrentPool.setEnabled(true);
}
+                if (imageParser.isSelected() && e.getStateChange() == ItemEvent.SELECTED)
{ concurrentPool.setEnabled(true); }
                 else { concurrentPool.setEnabled(false); }
             }
         });

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java?rev=1210102&r1=1210101&r2=1210102&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java
Sun Dec  4 12:48:24 2011
@@ -168,7 +168,7 @@ public class HttpTestSampleGui extends A
         concurrentDwn = new JCheckBox(JMeterUtils.getResString("web_testing_concurrent_download"));
// $NON-NLS-1$
         concurrentDwn.addItemListener(new ItemListener() {
             public void itemStateChanged(final ItemEvent e) {
-                if (e.getStateChange() == ItemEvent.SELECTED) { concurrentPool.setEnabled(true);
}
+                if (getImages.isSelected() && e.getStateChange() == ItemEvent.SELECTED)
{ concurrentPool.setEnabled(true); }
                 else { concurrentPool.setEnabled(false); }
             }
         });



Mime
View raw message