Remove duplicate call to gnc_set_default_directory().

This commit is contained in:
John Ralls 2015-10-02 12:43:04 -07:00
parent 8f8143b423
commit 0ad521c068

View File

@ -1101,7 +1101,6 @@ check_file_path (const char *path)
gchar *dir = g_path_get_dirname(path);
const gchar *dotgnucash = gnc_dotgnucash_dir();
char *dirpath = dir;
gnc_set_default_directory (GNC_PREFS_GROUP_OPEN_SAVE, dir);
/* Prevent user from storing file in GnuCash' private configuration
* directory (~/.gnucash by default in linux, but can be overridden)