Fix [#20067] Blender 2.5.0 Alpha0 - Duplicating Window
authorMatt Ebb <matt@mke3.net>
Tue, 19 Jan 2010 06:49:50 +0000 (06:49 +0000)
committerMatt Ebb <matt@mke3.net>
Tue, 19 Jan 2010 06:49:50 +0000 (06:49 +0000)
source/blender/windowmanager/intern/wm_window.c

index 294f9204ab2341b8358568eaf3434f7c6e0f1a86..aaa24957715a92210a032ca843cd7e5ce4264331 100644 (file)
@@ -487,6 +487,8 @@ int wm_window_duplicate_op(bContext *C, wmOperator *op)
        wm_window_copy(C, CTX_wm_window(C));
        WM_check(C);
        
+       WM_event_add_notifier(C, NC_WINDOW|NA_ADDED, NULL);
+       
        return OPERATOR_FINISHED;
 }