diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-19 09:40:14 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-19 09:40:14 +0000 |
| commit | c4e1a7bcf2ac28b1894cae7c6b11546381236889 (patch) | |
| tree | b1a9ebd2973a669bec695ebfeb27a8f8f6cd7b95 /src/event-log.cpp | |
| parent | Widgets to effect added (diff) | |
| parent | Keys. Bug #253552 (Repeat effect shortcut). (diff) | |
| download | inkscape-c4e1a7bcf2ac28b1894cae7c6b11546381236889.tar.gz inkscape-c4e1a7bcf2ac28b1894cae7c6b11546381236889.zip | |
Merge from trunk
(bzr r11950.1.60)
Diffstat (limited to 'src/event-log.cpp')
| -rw-r--r-- | src/event-log.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/event-log.cpp b/src/event-log.cpp index e2528ce0b..9304f68c5 100644 --- a/src/event-log.cpp +++ b/src/event-log.cpp @@ -38,7 +38,18 @@ EventLog::EventLog(SPDocument* document) : curr_row[_columns.type] = SP_VERB_FILE_NEW; } -EventLog::~EventLog() { } +EventLog::~EventLog() { + // avoid crash by clearing entries here (see bug #1071082) + if (_connected) { + (*_callback_connections)[CALLB_SELECTION_CHANGE].block(); + (*_callback_connections)[CALLB_EXPAND].block(); + + _event_list_store->clear(); + + (*_callback_connections)[CALLB_EXPAND].block(false); + (*_callback_connections)[CALLB_SELECTION_CHANGE].block(false); + } +} void EventLog::notifyUndoEvent(Event* log) |
