summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 0f2a63d..15bec46 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -30,6 +30,7 @@
#include "gui/help.h"
#include "gui/icons.h"
#include "gui/timer.h"
+#include "gui/clipboard.h"
#include "gui/common.h"
@@ -442,7 +443,7 @@ static bool sheet_click(void *user, int x, int y)
s = record_find_text(gfx_user(curr_sheet->gfx), show_extra, ex, ey);
if (s)
- fprintf(stderr, "%s\n", s);
+ copy_to_clipboard(s);
return 1;
}