Fixed: prevent bad index and duplicata after profile deletion

--HG--
branch : patches-from-atys
Inky 6 years ago
parent 1eb1b118f3
commit 0a48c4a6e3

@ -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()

Loading…
Cancel
Save