diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-08-04 02:35:13 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-08-04 02:35:13 +0000 |
| commit | bc9571c9f8eab4884286d90ce658ca856ab79ffa (patch) | |
| tree | f2967e1ce31909b2cd5eae259793729955cfd134 /src/widgets | |
| parent | Fix for 1030239 : Custom markers only added to the list in Stroke Style after... (diff) | |
| download | inkscape-bc9571c9f8eab4884286d90ce658ca856ab79ffa.tar.gz inkscape-bc9571c9f8eab4884286d90ce658ca856ab79ffa.zip | |
Fix for 1030239 : Custom markers only added to the list in Stroke Style after reloading the file
(bzr r11589)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/stroke-marker-selector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widgets/stroke-marker-selector.cpp b/src/widgets/stroke-marker-selector.cpp index 21207419b..ccefdf53e 100644 --- a/src/widgets/stroke-marker-selector.cpp +++ b/src/widgets/stroke-marker-selector.cpp @@ -109,9 +109,14 @@ MarkerComboBox::handleDefsModified(MarkerComboBox *self) void MarkerComboBox::refreshHistory() { + if (updating) + return; + + updating = true; const char *active = get_active()->get_value(marker_columns.marker); sp_marker_list_from_doc(doc, true); set_selected(active); + updating = false; } /** |
