From 0a48c4a6e39ed8854df128f9ea26b0ecdca6032c 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 : patches-from-atys --- .../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()