-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qtFRED bug: closing the Initial Goals dialog does not save its data #6466
Comments
This has probably been fixed by the refactor we're doing but I'll take a look tomorrow anyway |
Confirmed fixed in my dev branch. Do you want this specific dialog splitting of and a separate PR made or are you willing to wait till I'm done with all of them? |
Is it possible to bring over just this fix? Otherwise, yes, please make a separate PR for just the updates to the Initial Goals dialog. (In general, it's helpful to have one PR per dialog, following the example of #3674.) The in-testing PR #6467 makes changes to ai goal data structures in several places, including qtFRED, so if your dev branch modifies the Initial Goals dialog, that's another reason to merge that section sooner rather than later. |
@TheForce172 will you have time to look at this in the next week or so? |
I've created the full pull request at #6493. Unfortunately this change requires a modification to the AbstractDialogModel so all models have to be updated simultaneously so we can't break up the pull request into individual dialogs. |
Steps to reproduce:
I've traced this as far as determining that
ShipGoalsDialog::closeEvent()
reachesaccept()
and calls it, but the correspondingShipGoalsDialogModel::apply()
is not called. The following line exists in ShipGoalsDialog:But it apparently isn't working as intended. I'm not familiar enough with the Qt connection code to diagnose further.
Related to #3717. Pinging @TheForce172 for insight.
The text was updated successfully, but these errors were encountered: