SaveTool: deleting a profile is an unsafe action.
This commit is contained in:
parent
9e7b6a4153
commit
898873157f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ void SaveTool::drawProfileManager() {
|
||||||
ImGui::OpenPopup(backup_popup_id);
|
ImGui::OpenPopup(backup_popup_id);
|
||||||
}
|
}
|
||||||
ImGui::SameLine(0.0f, 2.0f);
|
ImGui::SameLine(0.0f, 2.0f);
|
||||||
if(ImGui::SmallButton(ICON_FA_TRASH_ALT)) {
|
if(drawUnsafeWidget(ImGui::SmallButton, ICON_FA_TRASH_ALT)) {
|
||||||
profile_index = i;
|
profile_index = i;
|
||||||
ImGui::OpenPopup(delete_popup_id);
|
ImGui::OpenPopup(delete_popup_id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue