diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-19 13:02:45 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-20 06:07:32 +0100 |
commit | 6dbf365f144df4a55294244b1a1cd6f679992456 (patch) | |
tree | 39495cc03ceda72315696ad8ecda2b41befcba1f /qbuffers.cpp | |
parent | dd02113f19aa41d187b4d1182057a10a43d842aa (diff) | |
download | sciteco-6dbf365f144df4a55294244b1a1cd6f679992456.tar.gz |
cleanup strings[0] before invoking done(): can only be a preliminary solution
Diffstat (limited to 'qbuffers.cpp')
-rw-r--r-- | qbuffers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qbuffers.cpp b/qbuffers.cpp index 356823b..61eacd3 100644 --- a/qbuffers.cpp +++ b/qbuffers.cpp @@ -369,7 +369,7 @@ Ring::edit(const gchar *filename) * Execute file load hook * FIXME: should be configurable whether it is executed or not */ - //qregisters["0"]->execute(); + qregisters["0"]->execute(); return new_in_ring; } @@ -518,6 +518,8 @@ Ring::close(void) if (current) { current->edit(); + + qregisters["0"]->execute(); } else { edit(NULL); undo_close(); |