[Summary] Fixed CUT+drag crash

This commit is contained in:
GZharun 2015-02-16 16:46:47 +02:00
parent 8f3225af60
commit c61af7b8c5

View file

@ -4850,12 +4850,14 @@ Editor::get_regions_from_selection_and_mouse (framepos_t pos)
{
RegionSelection regions;
if (selection->selected (entered_regionview) ) {
regions = selection->regions;
if (entered_regionview) {
if (selection->selected (entered_regionview) ) {
regions = selection->regions;
}
regions.add (entered_regionview);
}
regions.add (entered_regionview);
// Greg Zharun: Waves Tracks PRD does not say this.
// So let's skip this.
//if ( regions.empty() ) {