From e50d63f42224cdafece30d78265fb22482fd49d4 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 15 Jan 2008 05:08:28 +0000 Subject: 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) --- src/ui/view/edit-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/view/edit-widget.cpp') 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 -- cgit v1.2.3