Solving issue 1690: "ver 4.09.50 unable to save processing profiles". There is now 2 new shortcut places when loading/saving a profile, and 1 new place when "saving as.." an image in the dialog box.

This commit is contained in:
natureh 510
2013-02-04 00:36:56 +01:00
parent 3e04306a93
commit 0c7475c4df
6 changed files with 28 additions and 5 deletions

View File

@@ -157,6 +157,8 @@ void Options::updatePaths() {
lastProfilingReferenceDir = preferredPath;
if (lastVibranceCurvesDir.empty() || !safe_file_test (lastVibranceCurvesDir, Glib::FILE_TEST_EXISTS) || !safe_file_test (lastVibranceCurvesDir, Glib::FILE_TEST_IS_DIR))
lastVibranceCurvesDir = preferredPath;
if (loadSaveProfilePath.empty() || !safe_file_test (loadSaveProfilePath, Glib::FILE_TEST_EXISTS) || !safe_file_test (loadSaveProfilePath, Glib::FILE_TEST_IS_DIR))
loadSaveProfilePath = preferredPath;
}
Glib::ustring Options::getPreferredProfilePath() {