Skip to content

Commit

Permalink
fixed new column settings reset
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxfighter committed Jul 15, 2022
1 parent 9ee90d6 commit fb418f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions killproof_me/KillproofUITable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,11 @@ void KillproofUITable::MigrateSettings() {
for (size_t i = columnSize - 1; i < COLUMN_SETUP.size(); ++i) {
tableSettings.Columns[i].IsEnabled = COLUMN_SETUP[i].DefaultVisibility;
tableSettings.Columns[i].UserID = COLUMN_SETUP[i].UserId;
tableSettings.Columns[i].DisplayOrder = i;
}
}

tableSettings.SaveFlags |= ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable | ImGuiTableFlags_Sortable;
}

bool& KillproofUITable::getCustomColumnsActive() {
Expand Down

0 comments on commit fb418f6

Please sign in to comment.