remove USB settings from effect list as they're not part of Preset

This commit is contained in:
Tomasz Moń
2009-09-20 19:57:39 +02:00
parent 158fd081a5
commit 530dd397c5
2 changed files with 14 additions and 5 deletions

3
gui.c
View File

@@ -474,7 +474,8 @@ GtkWidget *create_vbox(Effect *widgets, gint amt, gchar *label)
y = 0;
} else {
/* Default to 1 */
y = 1;
if (x == 0)
y = 1;
}
container = create_widget_container(widgets[x].group, widgets[x].group_amt, widgets[x].type, widgets[x].position);