Application: use name instead of payload type as ID.
This commit is contained in:
parent
08de4ef475
commit
90a3dc65bf
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ Application::drawWeaponCategory(Containers::StringView name, GameObjects::Weapon
|
|||
ImGui::TableNextColumn();
|
||||
ImGui::TextUnformatted(name.cbegin(), name.cend());
|
||||
|
||||
ImGui::PushID(payload_type.data());
|
||||
ImGui::PushID(name.cbegin());
|
||||
|
||||
if(drawUnsafeWidget(ImGui::SmallButton, ICON_FA_SAVE " Save")) {
|
||||
_modifiedBySaveTool = true;
|
||||
|
|
Loading…
Reference in a new issue