Fixed: prevent bad index and duplicata after profile deletion

--HG--
branch : installer
hg/compatibility-develop
Inky 6 years ago
parent 63b58b0c84
commit 56da8888d5

@ -170,7 +170,9 @@ void CProfilesDialog::deleteProfile(int index)
profilesListView->setCurrentIndex(m_model->index(index, 0)); profilesListView->setCurrentIndex(m_model->index(index, 0));
displayProfile(index); displayProfile(index);
// TODO: delete files for delete profile // delete files for delete profile
COperationDialog dialog(this);
dialog.setOperation(OperationUpdateProfiles);
} }
void CProfilesDialog::addProfile() void CProfilesDialog::addProfile()

Loading…
Cancel
Save