[Companion] Fix model being moved to wrong category after wizard run (closes #4482)

This commit is contained in:
Max Paperno
2017-02-19 18:38:15 -05:00
parent ac9b781647
commit a19748dba7
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ void MdiChild::wizardEdit()
{
int row = getCurrentModel();
checkAndInitModel(row);
WizardDialog * wizard = new WizardDialog(radioData.generalSettings, row+1, this);
WizardDialog * wizard = new WizardDialog(radioData.generalSettings, row+1, radioData.models[row], this);
wizard->exec();
if (wizard->mix.complete /*TODO rather test the exec() result?*/) {
radioData.models[row] = wizard->mix;