Files
ardour/gtk2_ardour
Tim Mayberry fc0114a7e2 Fix #7015, Crash while aborting Region trim using Esc key
There were two issues:

The first is that TrimDrag::aborted was calling TrimDrag::finished with a null
GdkEvent which caused a segfault when dereferencing. So avoid that by passing
in a dummy event as we are just going to undo the operation in the next step
anyway so it shouldn't matter if it is valid(AFAICT).

The other is that TrimDrag:aborted was calling Editor::undo() which was in turn
calling TrimDrag::aborted leading to infinite recursion and stack overflow.
Calling Session::undo() directly seems to avoid that issue.

This fix feels like a bit of a hack...but it seems to work and is better than a
crash.
2016-09-11 22:53:00 +10:00
..
2016-09-06 15:43:40 -04:00
2016-08-25 13:42:38 -04:00
2016-08-07 20:29:21 +02:00
2016-07-18 19:21:05 +02:00
2016-07-18 19:21:05 +02:00
2016-08-13 16:07:16 +02:00
2016-09-06 16:17:39 -04:00
2016-07-18 17:37:13 +02:00
2016-08-26 01:10:38 +02:00
2016-08-21 23:02:37 +02:00
2016-08-21 23:02:37 +02:00
2016-08-22 09:41:59 -04:00
2016-07-24 13:00:15 +02:00
2016-07-15 16:10:42 +02:00
2016-08-20 05:41:12 +10:00
2016-09-07 00:27:01 +10:00
2016-08-29 06:38:48 -04:00
2016-07-18 19:21:05 +02:00
2016-08-13 14:51:15 +02:00
2016-08-20 18:12:49 +02:00
2016-08-18 16:32:38 +02:00
2016-08-04 09:52:22 +02:00
2016-08-17 17:04:02 +02:00