X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/16e145a5cf55ff3826656faedfba13460e4ab28b..4eb1f430bde3b517e045cc7ed68194ff9dbdda4a:/disobedience/properties.c diff --git a/disobedience/properties.c b/disobedience/properties.c index e02bb28..e9f61a2 100644 --- a/disobedience/properties.c +++ b/disobedience/properties.c @@ -176,7 +176,10 @@ void properties(int ntracks, const char **tracks) { struct prefdata *f; GtkWidget *hbox, *vbox, *button, *label, *entry, *propagate, *content; GdkPixbuf *pb; - + + /* If no tracks, do nothign */ + if(!ntracks) + return; /* If there is a properties window open then just bring it to the * front. It might not have the right values in... */ if(properties_window) {