fix(color): manage models buttons incorrect after renaming or removing labels (#7705)

This commit is contained in:
philmoz
2026-08-25 12:06:53 +10:00
committed by GitHub
parent faa60953cb
commit 7f6bbd1fb9
2 changed files with 8 additions and 9 deletions
-8
View File
@@ -87,12 +87,6 @@ class ModelCell
bool fetchRfData();
};
typedef struct {
std::string icon;
// Anything else?
} SLabelDetail;
typedef std::vector<std::pair<uint16_t, ModelCell *>> ModelLabelsVector;
typedef std::vector<std::string> LabelsVector;
typedef std::vector<ModelCell *> ModelsVector;
typedef enum {
@@ -249,7 +243,5 @@ class ModelsList : public ModelsVector
bool loadYamlDirScanner();
};
ModelLabelsVector getUniqueLabels();
extern ModelsList modelslist;
extern ModelMap modelslabels;