Open vvim opened 8 years ago
[PROPOSAL]
we should test for made changes when the user clicks on "ADD NEW INDIVIDUAL" and then we should save the changes
[PROBLEM]
what if the user clicks on "ADD NEW INDIVIDUAL" to make deelnemer Y, and then makes changes to X before he presses "OK" on the creation of new deelnemer Y ?
[PROPOSAL 2]
test for made changes to X at the moment that the user presses "OK" on the creation of new user Y. That way, the new individual Y will be created, but it is up to the user to choose if he wants to see X or Y in the mainwindow
This definitely applies to https://github.com/vvim/BT_deelnemers/commit/4e4b9633fc46dcc77d8c57b061916cea848f56fd#diff-fb00665651b4513f73606e261604a54dR877 , line number 877
The user opens the program and shows deelnemer X. The user now decides to add a new individual Y.
After adding Y, we want to show Y in the main program. But should we not first test if the user has made changes to X before we can show Y? (to avoid that the changes to X are lost)