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/ui/view/edit-widget.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/ui/view/edit-widget.cpp')
| -rw-r--r-- | src/ui/view/edit-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index 78cf76096..9ac6aeefd 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -1203,7 +1203,7 @@ EditWidget::shutdown() return false; SPDocument *doc = _desktop->doc(); - if (doc->isModified()) { + if (doc->isModifiedSinceSave()) { gchar *markup; /// \todo FIXME !!! obviously this will have problems if the document /// name contains markup characters |
