summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-marker-selector.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-08-04 02:35:13 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-08-04 02:35:13 +0000
commitbc9571c9f8eab4884286d90ce658ca856ab79ffa (patch)
treef2967e1ce31909b2cd5eae259793729955cfd134 /src/widgets/stroke-marker-selector.cpp
parentFix for 1030239 : Custom markers only added to the list in Stroke Style after... (diff)
downloadinkscape-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 '')
-rw-r--r--src/widgets/stroke-marker-selector.cpp5
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;
}
/**