summaryrefslogtreecommitdiff
path: root/src/apoint.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-29 18:26:58 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-29 20:38:59 +0200
commit0126cbd1b3fd1ee46ce3c6f01fef92761c2193c7 (patch)
treeefbeeed0e38f66d8b1d0f6b70dd3267cea477ba3 /src/apoint.c
parentcce0acbe007b346afdebe0e9ba5dedf72b2eaf53 (diff)
downloadcalcurse-0126cbd1b3fd1ee46ce3c6f01fef92761c2193c7.zip
Update the notification item in *_paste_item()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/apoint.c')
-rw-r--r--src/apoint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apoint.c b/src/apoint.c
index 8771426..859e807 100644
--- a/src/apoint.c
+++ b/src/apoint.c
@@ -729,5 +729,9 @@ apoint_paste_item (void)
(void)apoint_new (bkp_cut_apoint.mesg, bkp_cut_apoint.note,
bkp_start, bkp_cut_apoint.dur,
bkp_cut_apoint.state);
+
+ if (notify_bar ())
+ notify_check_added (bkp_cut_apoint.mesg, bkp_start, bkp_cut_apoint.state);
+
apoint_free_bkp (ERASE_FORCE_KEEP_NOTE);
}