You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2014/09/07 10:31:46 UTC
svn commit: r1622984 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java
Author: pmouawad
Date: Sun Sep 7 08:31:46 2014
New Revision: 1622984
URL: http://svn.apache.org/r1622984
Log:
Bug 42248 - Undo-redo support on Test Plan tree modification
Temporary disable as I missed the right place to call it
Bugzilla Id: 42248
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java?rev=1622984&r1=1622983&r2=1622984&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/UndoCommand.java Sun Sep 7 08:31:46 2014
@@ -47,12 +47,16 @@ public class UndoCommand implements Comm
if (command.equals(ActionNames.UNDO)) {
guiPackage.goInHistory(-1);
+ /*
guiPackage.getMainFrame().updateUndoRedoIcons(guiPackage.canUndo()
,guiPackage.canRedo());
+ */
} else if (command.equals(ActionNames.REDO)) {
guiPackage.goInHistory(1);
+ /*
guiPackage.getMainFrame().updateUndoRedoIcons(guiPackage.canUndo()
,guiPackage.canRedo());
+ */
} else {
throw new IllegalArgumentException("Wrong action called: " + command);
}