diff --git a/src/SaveTool/SaveTool_ProfileManager.cpp b/src/SaveTool/SaveTool_ProfileManager.cpp index d0d2772..4d5e21b 100644 --- a/src/SaveTool/SaveTool_ProfileManager.cpp +++ b/src/SaveTool/SaveTool_ProfileManager.cpp @@ -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); }