0.0.12 Added Groupboxes. /JL
This commit is contained in:
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user