From 56da8888d50cf736b28b02476438d1a95354fbca Mon Sep 17 00:00:00 2001 From: Inky Date: Fri, 24 May 2019 23:30:33 +0300 Subject: [PATCH] Fixed: prevent bad index and duplicata after profile deletion --HG-- branch : installer --- .../ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp index 866be074d..d4d94457e 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp @@ -170,7 +170,9 @@ void CProfilesDialog::deleteProfile(int index) profilesListView->setCurrentIndex(m_model->index(index, 0)); displayProfile(index); - // TODO: delete files for delete profile + // delete files for delete profile + COperationDialog dialog(this); + dialog.setOperation(OperationUpdateProfiles); } void CProfilesDialog::addProfile()