Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-10-15 15:11:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-15 15:11:52 +0400
commit734d50e8df0c06e6a4630078f4b7250fbe7d6dcc (patch)
treed93d0c54903f28d4709ad45533548715cc0fddc3 /source/blender/editors/space_file/space_file.c
parent384a1b5a5c15cfc5311f3865bde095d89130cfa5 (diff)
typing in non-existant dirs now goes back to the previous dir. (also for bookmarks and when changing dir's in other places)
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 4d3376e0e1f..91d917acfe7 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -180,7 +180,7 @@ static SpaceLink *file_duplicate(SpaceLink *sl)
if(sfileo->params) {
sfilen->params= MEM_dupallocN(sfileo->params);
- file_change_dir(sfilen);
+ file_change_dir(sfilen, 0);
}
if (sfileo->layout) {
sfilen->layout= MEM_dupallocN(sfileo->layout);
@@ -197,7 +197,7 @@ static void file_refresh(const bContext *C, ScrArea *sa)
sfile->folders_prev = folderlist_new();
if (!sfile->files) {
sfile->files = filelist_new(params->type);
- file_change_dir(sfile);
+ file_change_dir(sfile, 0);
params->active_file = -1; // added this so it opens nicer (ton)
}
filelist_hidedot(sfile->files, params->flag & FILE_HIDE_DOT);