PF_Cmd_USER_CHANGED_PARAM called twice on button press in Premiere
I'm trying to open a file dialog when a user presses a button in my plugin. I set up the button fine with:
PF_ADD_BUTTON("Choose File", "Browse", 0, PF_ParamFlag_SUPERVISE, PARAM_ID_LAUNCH_BUTTON);
but then the callback for PF_Cmd_USER_CHANGED_PARAM gets called twice whenever the button is pressed (at least in Premiere, haven't tried in After Effects), and I can't figure out why or how to effectively ignore the second one knowing it's not a real second button press. Any ideas?
