diff options
| author | MenTaLguY <mental@rydia.net> | 2008-01-15 05:08:28 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-01-15 05:08:28 +0000 |
| commit | e50d63f42224cdafece30d78265fb22482fd49d4 (patch) | |
| tree | 2b292247e0809a34e169478ea94ad9b2947b51d8 /src/inkscape.cpp | |
| parent | abstract use of sodipodi:modified (diff) | |
| download | inkscape-e50d63f42224cdafece30d78265fb22482fd49d4.tar.gz inkscape-e50d63f42224cdafece30d78265fb22482fd49d4.zip | |
stop toggling insensitive state for modification flag updates (fixes critical bug #182401)
In order to do this, I got rid of sodipodi:modified in favor of a simple
flag in SPDocument, also renaming SPDocument::{set,is}Modified to
SPDocument::{set,is}ModifiedSinceSave
(bzr r4491)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 4f831e629..cd176c0cf 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -431,7 +431,7 @@ inkscape_crash_handler (int /*signum*/) Inkscape::XML::Node *repr; doc = (SPDocument *) l->data; repr = sp_document_repr_root (doc); - if (doc->isModified()) { + if (doc->isModifiedSinceSave()) { const gchar *docname, *d0, *d; gchar n[64], c[1024]; FILE *file; |
