[ardour-dev] [PATCH]region (de-)selection from 1 region to another in the same track

Karsten Wiese annabellesgarden at yahoo.de
Mon Dec 27 12:07:18 PST 2004


works again with this: 

>>>>>>
@@ -443,9 +443,12 @@
 void
 TimeAxisViewItem::set_selected(bool yn, void* src)
 {
-       selected = yn ;
-       set_frame_color ();
-        Selected(selected) ; /* EMIT_SIGNAL */
+  if (_selected != yn) {
+    _selected = yn ;
+    set_frame_color ();
+    //  Selected(selected) ; /* EMIT_SIGNAL */
+  }
 }

 /**
<<<<<<

fix prevents recalling "set_frame_color ();", when unneccessary.
without it, now deselected regions show still "I'm selected".

On: Ardour/GTK 0.549.1 running with libardour 0.851.3


Karsten



More information about the Ardour-Dev mailing list