summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/fhswf/in/inf')
-rw-r--r--src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java b/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
index 7884659..41b229d 100644
--- a/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
+++ b/src/de/fhswf/in/inf/java2/aufgabe04/TextFieldWithContextMenu.java
@@ -47,6 +47,10 @@ public class TextFieldWithContextMenu extends TextField
//The first time properties are strange.
//The multiple pops are needed as the TextChangeListener
//adds the actual text before and after the setText
+
+ //Debugger is unusable while ContextMenu is open.
+ //contextMenu.hide();
+
undoStack.pop();
setText(undoStack.pop());
undoStack.pop();