Fix [#30136] Adding Sequence Plugin fails.
[blender-staging.git] / source / blender / editors / space_sequencer / sequencer_add.c
index 9aed4b3d78a35c4b366e2a4b68b3ba08864e5014..03fd22d104574e28baf5623fc033192d9b5934a2 100644 (file)
@@ -713,7 +713,8 @@ static int sequencer_add_effect_strip_invoke(bContext *C, wmOperator *op, wmEven
 
        if (is_type_set && type==SEQ_PLUGIN) {
                /* only plugins need the file selector */
-               return WM_operator_filesel(C, op, event);
+               WM_event_add_fileselect(C, op);
+               return OPERATOR_RUNNING_MODAL;
        }
        else {
                return sequencer_add_effect_strip_exec(C, op);