From 61e20c7364b3506cfc4a54c78c8044b1d957230a Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 31 Dec 2009 02:04:42 -0800 Subject: [PATCH] Document properties now treats lcms file load failures as non-fatal. Fixes bug #501782 --- src/ui/dialog/document-properties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 982fb3415..a7241ea40 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -353,6 +353,7 @@ DocumentProperties::populate_available_profiles(){ while ((filename = (gchar *)g_dir_read_name(directory)) != NULL) { gchar* full = g_build_filename(it->c_str(), filename, NULL); if ( !Inkscape::IO::file_test( full, G_FILE_TEST_IS_DIR ) ) { + cmsErrorAction( LCMS_ERROR_SHOW ); cmsHPROFILE hProfile = cmsOpenProfileFromFile(full, "r"); if (hProfile != NULL){ const gchar* name; -- 2.30.2