mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-10 18:56:13 +00:00
ENH: show category for multi extruders in search
Change-Id: I2441097f076e772dcc0b11245c6d22ed22bfad2b Jira: STUDIO-10187 (cherry picked from commit 6eba5f3b4821c8302d1423090e3fcdf3309d83b9)
This commit is contained in:
@@ -62,6 +62,7 @@ struct Option
|
||||
std::wstring group_local;
|
||||
std::wstring category;
|
||||
std::wstring category_local;
|
||||
bool multi_category { false };
|
||||
|
||||
std::string opt_key() const;
|
||||
};
|
||||
@@ -100,10 +101,7 @@ class OptionsSearcher
|
||||
|
||||
void append_options(DynamicPrintConfig *config, Preset::Type type, ConfigOptionMode mode);
|
||||
|
||||
void sort_options()
|
||||
{
|
||||
std::sort(options.begin(), options.end(), [](const Option &o1, const Option &o2) { return o1.label < o2.label; });
|
||||
}
|
||||
void sort_options();
|
||||
void sort_found()
|
||||
{
|
||||
std::sort(found.begin(), found.end(),
|
||||
|
||||
Reference in New Issue
Block a user