X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=nevalgraph.c;fp=nevalgraph.c;h=d7b9923ef05413d582c5a0527fc3dac3159cda31;hb=45609e1f60534051fc729485d692081aa7bf1314;hp=5ab171c3a9f6c484330764ce7553498eea6fe19f;hpb=bb567be9d0b4dc99e815ee4d7cef8791527e211c;p=xboard.git diff --git a/nevalgraph.c b/nevalgraph.c index 5ab171c..d7b9923 100644 --- a/nevalgraph.c +++ b/nevalgraph.c @@ -132,7 +132,7 @@ EvalCallback (int button, int x, int y) void EvalGraphPopUp () { - if (GenericPopUp(graphOptions, _(title), EvalGraphDlg, BoardWindow, NONMODAL, 1)) { + if (GenericPopUp(graphOptions, _(title), EvalGraphDlg, BoardWindow, NONMODAL, appData.topLevel)) { InitializeEvalGraph(&graphOptions[0], wpEvalGraph.width, wpEvalGraph.height); // first time: add callbacks and initialize pens disp = graphOptions; } else {