Bring strings view and pattern data view in line with each other

This commit is contained in:
WerWolv
2020-11-20 00:16:50 +01:00
parent 763d1f0e2d
commit f36014194d
3 changed files with 6 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ namespace hex::lang {
else
return left->getName() < right->getName();
}
else if (sortSpecs->Specs->ColumnUserID == ImGui::GetID("position")) {
else if (sortSpecs->Specs->ColumnUserID == ImGui::GetID("offset")) {
if (sortSpecs->Specs->SortDirection == ImGuiSortDirection_Ascending)
return left->getOffset() > right->getOffset();
else