diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-01-19 05:38:09 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-01-19 05:38:09 +0000 |
| commit | eac3c11251e65774a2f4f610f2799592978487d8 (patch) | |
| tree | 11c68dad7013c79a38872f16d221d0c653dc2ffb /src/document-undo.cpp | |
| parent | Fix missing embeded image condition, kindly caught by suv in bug #1270334 (diff) | |
| download | inkscape-eac3c11251e65774a2f4f610f2799592978487d8.tar.gz inkscape-eac3c11251e65774a2f4f610f2799592978487d8.zip | |
Try another fix for the undo when dragging bug #168695
Fixed bugs:
- https://launchpad.net/bugs/168695
(bzr r12955)
Diffstat (limited to 'src/document-undo.cpp')
| -rw-r--r-- | src/document-undo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp index 312ccb7f8..bad4d6c81 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -242,7 +242,7 @@ gboolean Inkscape::DocumentUndo::undo(SPDocument *doc) g_assert (doc != NULL); g_assert (doc->priv != NULL); - g_assert (doc->priv->sensitive); + g_return_val_if_fail (doc->priv->sensitive, FALSE); doc->priv->sensitive = FALSE; doc->priv->seeking = true; |
