Fix bug in two sample non-parametric dialog.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 4 Dec 2015 09:37:48 +0000 (10:37 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 4 Dec 2015 09:37:48 +0000 (10:37 +0100)
commitc33872a9c02a0d6b134addb56ded0468c8458cf0
treed690ef2334e3def8a423a989aca15198359b851a
parent4c043d9735eec537176d8426141ce62624dec5bf
Fix bug in two sample non-parametric dialog.

Commit fc6620099bbc53762095569d5356b67a81a85402 changed all dialog
boxes such that the previous (existing) dialog widget and all
children are re-used each time the dialog is summoned, instead of
creating a new one each time.

The two sample non-parametric test, however has some special code
on activation to populate the dialog, and this had not been moved
to the conditional case - hence the pertinent widgets were getting
added each time.  This resulted in the dialog being overpopulated.

This change fixes these things.
src/ui/gui/psppire-dialog-action-two-sample.c