diff --git a/cmd/WiiUDownloader/mainwindow.go b/cmd/WiiUDownloader/mainwindow.go index 54b1d03..c0b9a3a 100644 --- a/cmd/WiiUDownloader/mainwindow.go +++ b/cmd/WiiUDownloader/mainwindow.go @@ -285,7 +285,7 @@ func (mw *MainWindow) ShowAll() { mw.logger.Fatal("Unable to create box:", err) } - mw.categoryButtons = make([]*gtk.ToggleButton, 0) + mw.categoryButtons = make([]*gtk.ToggleButton, 5) for _, cat := range []string{"Game", "Update", "DLC", "Demo", "All"} { button, err := gtk.ToggleButtonNewWithLabel(cat) if err != nil {