SaveTool: deleting a profile is an unsafe action.

This commit is contained in:
Guillaume Jacquemin 2021-07-10 16:49:47 +02:00
parent 9e7b6a4153
commit 898873157f

View file

@ -98,7 +98,7 @@ void SaveTool::drawProfileManager() {
ImGui::OpenPopup(backup_popup_id);
}
ImGui::SameLine(0.0f, 2.0f);
if(ImGui::SmallButton(ICON_FA_TRASH_ALT)) {
if(drawUnsafeWidget(ImGui::SmallButton, ICON_FA_TRASH_ALT)) {
profile_index = i;
ImGui::OpenPopup(delete_popup_id);
}