chiark / gitweb /
0-track edges cases for the last changes
[disorder] / disobedience / properties.c
index e02bb28cf42aded1fee6b14c281803f27a93921e..e9f61a22e21bcdd3212fa097159882b3896eb75f 100644 (file)
@@ -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) {