diff options
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 770e967..20a06e0 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -275,7 +275,7 @@ int main(int argc, char **argv) case KEY_DEL_ITEM: if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_delete(&inday.nb_events, &inday.nb_apoints); + interact_day_item_delete(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } else if (wins_slctd() == TOD && todo_hilt() != 0) { @@ -284,14 +284,6 @@ int main(int argc, char **argv) } break; - case KEY_GENERIC_CUT: - if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_cut(&inday.nb_events, &inday.nb_apoints, reg); - inday = do_storage(0); - wins_update(FLAG_CAL | FLAG_APP); - } - break; - case KEY_GENERIC_COPY: if (wins_slctd() == APP && apoint_hilt() != 0) { interact_day_item_copy(&inday.nb_events, &inday.nb_apoints, reg); |