Example #1
0
void CurvesDialog::showCurveRangeDialog()
{
  int curve = contents->currentRow();
  if (curve < 0)
    curve = 0;

  d_app->showCurveRangeDialog(d_graph, curve);
  updateCurveRange();
}
void CurvesDialog::showCurveRangeDialog()
{
	int curve = contents->currentRow();
	if (curve < 0)
		curve = 0;

    ApplicationWindow *app = (ApplicationWindow *)this->parent();
    if (app)
    {
        app->showCurveRangeDialog(d_graph, curve);
		updateCurveRange();
    }
}