~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copyright dates
[disorder]
/
disobedience
/
properties.c
diff --git
a/disobedience/properties.c
b/disobedience/properties.c
index
e02bb28
..
e9f61a2
100644
(file)
--- 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;
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) {
/* 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) {