aboutsummaryrefslogtreecommitdiffstats
path: root/icons/pref_log.png
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-03 20:03:56 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commit2417a54675011885c699dbe8a77a427effcb26c5 (patch)
treea16c2efbcc15449a4c48e33263e6824d8aa3d93b /icons/pref_log.png
parente7b5955be08369ebb5245a53186600a9ebf1a0ed (diff)
downloadsubsurface-2417a54675011885c699dbe8a77a427effcb26c5.tar.gz
core: split add_event() in two parts
add_event() creates and adds an event from the given parameters. For undo, we want to do these separately, therefore split this function in two parts: create_event() and add_event_to_dc(). Keep the add_event() function for convenience. Moreover, keep the remember_event() call in there, so that undo-commands can call remember_event() once, not on every undo/redo action. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'icons/pref_log.png')
0 files changed, 0 insertions, 0 deletions