diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-08 22:11:56 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-02-08 22:25:51 +0100 |
| commit | de3ed8db8b49638bd140830f6894a880fad8ef1b (patch) | |
| tree | fb88e45d130165dd6ff57fc9757b35148c3a2530 /src/ring.h | |
| parent | f09318bab642ca7230c927b7b4180870ce6ad059 (diff) | |
fixed ring.current/QRegisters::current corruption
occurs when rubbing out a switch from q-reg string or to q-reg string
Diffstat (limited to 'src/ring.h')
| -rw-r--r-- | src/ring.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -208,8 +208,8 @@ public: undo_edit(void) { current->dot = interface.ssm(SCI_GETCURRENTPOS); - undo.push_var(current); - current->undo_edit(); + undo.push_var(QRegisters::current); + undo.push_var(current)->undo_edit(); } bool save(const gchar *filename); |
