chiark / gitweb /
Set edit menu sensitivity when it is shown rather than when we change tab.
[disorder] / disobedience / queue-generic.c
index 633b174b532e50bdb6dc2b6bea396871ccf39eac..9c9e549ff2db9f31f6489097e91d6fdd11536f83 100644 (file)
@@ -40,6 +40,7 @@
  * - display playing row in a different color?
  */
 #include "disobedience.h"
+#include "popup.h"
 #include "queue-generic.h"
 
 static struct queuelike *const queuelikes[] = {
@@ -494,8 +495,6 @@ void ql_new_queue(struct queuelike *ql,
   ql->q = newq;
   /* Set the rest of the columns in new rows */
   ql_update_list_store(ql);
-  /* Update menu sensitivity */
-  menu_update(-1);
   --suppress_actions;
 }