impr: Correct some ugly code
This commit is contained in:
parent
9ec7b90192
commit
8afd698284
@ -334,9 +334,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::TableNextColumn();
|
||||
|
||||
if (ImGui::IconButton(ICON_VS_ADD, ImGui::GetStyleColorVec4(ImGuiCol_Text))) {
|
||||
iter++;
|
||||
envVars.insert(iter, { envVarCounter++, "", i128(0), PlData::EnvVarType::Integer });
|
||||
iter--;
|
||||
envVars.insert(std::next(iter), { envVarCounter++, "", i128(0), PlData::EnvVarType::Integer });
|
||||
}
|
||||
|
||||
ImGui::SameLine();
|
||||
|
Loading…
x
Reference in New Issue
Block a user