0.0.7 Cleanup. /JL

This commit is contained in:
2022-12-10 22:52:04 +01:00
parent 627aa1d24a
commit 596dd8f87a
3 changed files with 82 additions and 45 deletions
+10
View File
@@ -70,6 +70,16 @@ type (
}
)
func CreateSeriesList(mw *MyMainWindow) []string {
series := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand {
for _, serie := range brand.Series.Serie {
series = append(series, serie.SerieName)
}
}
return series
}
func CreateBrandsList(mw *MyMainWindow) []string {
brands := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand {