bool change = false;
PresentationInfo::order_t order = 0;
- TreeOrderKeys sorted;
-
PresentationInfo::ChangeSuspender cs;
for (ri = rows.begin(); ri != rows.end(); ++ri) {
stripable->set_presentation_order (order);
change = true;
}
-
- sorted.push_back (TreeOrderKey (order, stripable));
++order;
}
* already updated itself.
*/
- TrackViewList tvl;
PBD::Unwinder<bool> uw (_ignore_selection_change, true);
-
/* set the treeview model selection state */
for (TreeModel::Children::iterator ri = rows.begin(); ri != rows.end(); ++ri) {
boost::shared_ptr<Stripable> stripable = (*ri)[_columns.stripable];
if (stripable && stripable->is_selected()) {
- TimeAxisView* tav = (*ri)[_columns.tv];
- if (tav) {
- tvl.push_back (tav);
- }
_display.get_selection()->select (*ri);
} else {
_display.get_selection()->unselect (*ri);
/* STEP 2: update TimeAxisView's knowledge of their selected state
*/
-
- PropertyChange pc;
- pc.add (Properties::selected);
-
if (what_changed.contains (Properties::selected)) {
StripableNotificationListPtr stripables (new StripableNotificationList);
PresentationInfo::order_t master_key = _session->master_order_key ();
PresentationInfo::order_t order = 0;
- uint32_t count = 0;
-
- TreeOrderKeys sorted;
PresentationInfo::ChangeSuspender cs;
stripable->set_presentation_order (order);
change = true;
}
-
- sorted.push_back (TreeOrderKey (count, stripable));
++order;
- ++count;
}
change |= _session->ensure_stripable_sort_order ();