Segfault when selecting GIMP installation directory in Preferences (Windows), fixes #3534
This commit is contained in:
parent
f2fff3fc8b
commit
c94e017d90
@ -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__
|
||||
|
Loading…
x
Reference in New Issue
Block a user