Bug 57055 - CheckDirty.doAction should clear previousGuiItems for SUB_TREE_SAVED

Bugzilla Id: 57055

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1807166 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 92eb803bca
This commit is contained in:
Philippe Mouawad 2017-09-03 19:50:08 +00:00
parent cefdd3c435
commit 3e6da55f02
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class CheckDirty extends AbstractAction implements HashTreeTraverser, Act
public void doAction(ActionEvent e) {
String action = e.getActionCommand();
if (action.equals(ActionNames.SUB_TREE_SAVED)) {
previousGuiItems.clear();
HashTree subTree = (HashTree) e.getSource();
subTree.traverse(this);
} else if (action.equals(ActionNames.SUB_TREE_LOADED)) {

View File

@ -240,6 +240,7 @@ Incorporated feed back about unclear documentation.
<li><bug>61292</bug>Make processing of samples in reporter more robust.</li>
<li><bug>61359</bug>When cutting an element from Tree, Test plan is not marked as dirty</li>
<li><bug>61380</bug>JMeter shutdown using timers releases thundering herd of interrupted samplers</li>
<li><bug>57055</bug>CheckDirty.doAction should clear previousGuiItems for SUB_TREE_SAVED</li>
</ul>
<!-- =================== Thanks =================== -->