Author: pmouawad
Date: Wed Jan 23 20:54:37 2019
New Revision: 1851980
URL: http://svn.apache.org/viewvc?rev=1851980&view=rev
Log:
Bug 63106 - Apply naming policy does not refresh UI
Bugzilla Id: 63106
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java
jmeter/trunk/xdocs/changes.xml
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java
URL:
http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java?rev=1851980&r1=1851979&r2=1851980&view=diff
==============================================================================
---
jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java
(original)
+++
jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java
Wed Jan 23 20:54:37 2019
@@ -46,6 +46,7 @@ public class ApplyNamingConvention exten
}
public ApplyNamingConvention() {
+ super();
}
@Override
@@ -57,7 +58,8 @@ public class ApplyNamingConvention exten
return;
}
try {
- applyNamingPolicyToCurrentNode(guiPackage, currentNode);
+ applyNamingPolicyToCurrentNode(guiPackage, currentNode);
+ GuiPackage.getInstance().getMainFrame().repaint();
} catch (Exception err) {
Toolkit.getDefaultToolkit().beep();
log.error("Failed to apply naming policy", err);
@@ -82,7 +84,7 @@ public class ApplyNamingConvention exten
JMeterTreeNode childNode =
(JMeterTreeNode)enumeration.nextElement();
namingPolicy.rename(currentNode, childNode, index);
index++;
- }
+ }
}
@Override
Modified: jmeter/trunk/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1851980&r1=1851979&r2=1851980&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Wed Jan 23 20:54:37 2019
@@ -258,6 +258,7 @@ See <bugzilla>63094</bugzilla>
<li><bug>62900</bug>ObjectProperty#getStringValue() can throw
NullPointerException</li>
<li><bug>63099</bug>Escape commata in function helper dialog only outside
of variable replacement structures.</li>
<li><bug>63105</bug>Export Transactions for Report: fix 2 bugs</li>
+ <li><bug>63106</bug>Apply naming policy does not refresh UI</li>
</ul>
<!-- =================== Thanks =================== -->