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-02-28 21:16:44 +01:00
2016-02-28 21:16:44 +01:00
2016-08-24 10:07:21 -07:00
2016-08-30 23:54:25 +02:00
2016-06-25 00:44:04 +02:00
2016-07-06 03:12:19 +02:00
2009-11-09 14:13:59 +00:00
2013-03-12 13:32:56 -04:00
2015-05-09 13:08:56 -04:00
2013-03-13 14:35:39 -04:00
2016-02-28 21:48:49 +01:00
2016-08-24 10:07:21 -07:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html
Description
No description provided
Readme 202 MiB
Languages
C++ 56.5%
C 39.6%
JavaScript 1.3%
Lua 0.9%
Python 0.6%
Other 0.9%