diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2010-05-18 21:49:29 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2010-05-18 21:49:29 +0000 |
| commit | 0af139d84f4620c7b57988084f3145532db9d30b (patch) | |
| tree | 3830d5245612c7c00063302d1082dcf2983300e9 /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | reduce include dependencies (diff) | |
| download | inkscape-0af139d84f4620c7b57988084f3145532db9d30b.tar.gz inkscape-0af139d84f4620c7b57988084f3145532db9d30b.zip | |
fix lpe dialog updating
Fixed bugs:
- https://launchpad.net/bugs/516940
(bzr r9433)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index dec437be9..62ed4e639 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -51,9 +51,10 @@ namespace Dialog { /*#################### * Callback functions */ -static void lpeeditor_selection_changed (Inkscape::Selection * selection, gpointer data) +void lpeeditor_selection_changed (Inkscape::Selection * selection, gpointer data) { LivePathEffectEditor *lpeeditor = static_cast<LivePathEffectEditor *>(data); + lpeeditor->lpe_list_locked = false; lpeeditor->onSelectionChanged(selection); } @@ -327,6 +328,7 @@ LivePathEffectEditor::setDesktop(SPDesktop *desktop) selection_modified_connection.disconnect(); } + lpe_list_locked = false; current_desktop = desktop; if (desktop) { Inkscape::Selection *selection = sp_desktop_selection(desktop); @@ -373,6 +375,7 @@ LivePathEffectEditor::onApply() sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Create and apply path effect")); + lpe_list_locked = false; onSelectionChanged(sel); } } |
