Fix (unreported) crash when duplicating a FileBrowser window in preview draw mode.
We did not clear preview or smoothscroll timers pointers in copy code...
This commit is contained in:
@@ -188,6 +188,9 @@ static SpaceLink *file_duplicate(SpaceLink *sl)
|
||||
/* clear or remove stuff from old */
|
||||
sfilen->op = NULL; /* file window doesn't own operators */
|
||||
|
||||
sfilen->previews_timer = NULL;
|
||||
sfilen->smoothscroll_timer = NULL;
|
||||
|
||||
if (sfileo->params) {
|
||||
sfilen->files = filelist_new(sfileo->params->type);
|
||||
sfilen->params = MEM_dupallocN(sfileo->params);
|
||||
|
||||
Reference in New Issue
Block a user