0.0.12 Added Groupboxes. /JL

This commit is contained in:
2022-12-11 17:34:42 +01:00
parent 05fbb17ff6
commit ee07323106
3 changed files with 52 additions and 30 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ type (
func CreatePegboardsList(mw *MyMainWindow) []string {
pegboards := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand {
if brand.BrandName == mw.pallette_combo.Text() {
if brand.BrandName == mw.brand_combo.Text() {
for _, serie := range brand.Series.Serie {
if serie.SerieName == mw.serie_combo.Text() {
for _, pegboard := range serie.Pegboards.Pegboard {
@@ -89,7 +89,7 @@ func CreatePegboardsList(mw *MyMainWindow) []string {
func CreateSeriesList(mw *MyMainWindow) []string {
series := make([]string, 0)
for _, brand := range mw.pallette.Brands.Brand {
if brand.BrandName == mw.pallette_combo.Text() {
if brand.BrandName == mw.brand_combo.Text() {
for _, serie := range brand.Series.Serie {
series = append(series, serie.SerieName)
}