BUG: GraphWaveEditUndoObject called with NULL graph.

I've created a function that runs GraphWaveEdit on a trace (ypoly) in a subwindow (cimage). Everytime I click on the trace to edit the wave, I get the following output in the command window

BUG: GraphWaveEditUndoObject called with NULL graph.

Everything still functions but the BUG prompt is repeating with every edit of the wave. IP7

 graphwaveedit/NI/W=BRPanel#Cimage ypoly

C
Please use the Help->Contact Support menu item in Igor to generate a template email. In the email, include instructions we can follow to reproduce the problem, as long as any Igor experiment necessary to follow the instructions.

Thanks.