diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/ClipboardDialog.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/ClipboardDialog.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/ClipboardDialog.java b/java/com/tigervnc/vncviewer/ClipboardDialog.java index 69fc7114..41f92b1a 100644 --- a/java/com/tigervnc/vncviewer/ClipboardDialog.java +++ b/java/com/tigervnc/vncviewer/ClipboardDialog.java @@ -97,12 +97,10 @@ class ClipboardDialog extends Dialog implements ActionListener { current = ""; textArea.setText(current); } else if (s instanceof JButton && (JButton)s == sendButton) { - ok = true; current = textArea.getText(); cc.writeClientCutText(current, current.length()); endDialog(); } else if (s instanceof JButton && (JButton)s == cancelButton) { - ok = false; endDialog(); } } |