mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
[Summary] Fixed CUT+drag crash
This commit is contained in:
parent
8f3225af60
commit
c61af7b8c5
1 changed files with 6 additions and 4 deletions
|
|
@ -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() ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue