Segfault when selecting GIMP installation directory in Preferences (Windows), fixes #3534

This commit is contained in:
heckflosse 2017-01-20 20:52:47 +01:00
parent f2fff3fc8b
commit c94e017d90

View File

@ -1775,10 +1775,14 @@ void Preferences::fillPreferences ()
if (Glib::file_test (moptions.gimpDir, Glib::FILE_TEST_IS_DIR)) {
gimpDir->set_current_folder (moptions.gimpDir);
} else {
gimpDir->set_current_folder ("");
}
if (Glib::file_test (moptions.psDir, Glib::FILE_TEST_IS_DIR)) {
psDir->set_current_folder (moptions.psDir);
} else {
psDir->set_current_folder ("");
}
#elif defined __APPLE__