Fix bug with update

This commit is contained in:
QIDI TECH
2023-06-27 19:43:01 +08:00
parent dd0d4c8c4a
commit 2de3fb95b5
6 changed files with 8 additions and 15 deletions

View File

@@ -1162,7 +1162,7 @@ void PageMaterials::sort_list_data(StringList* list, bool add_All_item, bool mat
// then the rest
// in alphabetical order
std::vector<std::reference_wrapper<const std::string>> prusa_profiles;
std::vector<std::reference_wrapper<const std::string>> qidi_profiles;
std::vector<std::pair<std::wstring ,std::reference_wrapper<const std::string>>> other_profiles; // first is lower case id for sorting
bool add_TEMPLATES_item = false;
for (int i = 0 ; i < list->size(); ++i) {