summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorGZharun <grygoriiz@wavesglobal.com>2015-01-23 14:46:23 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2015-01-23 13:43:52 -0500
commit6976a781000ab0d1942d2297b7ab0ee500416a7a (patch)
treea5a806e7868416b03528e0a4ce7d6a832181b420 /gtk2_ardour/editor_drag.h
parent21cb2d6ff9477b3fef1a3275f08ca75b496bfa82 (diff)
[Summary] Fixed bug 45163: Trim range from right corner of timeline leads Tracks to crash
[Details] Crash was provoked because of an attempt to add commands to the session reversible command, but when autoscroll started and trim began with autoscroll the session reversible command was not created for for Trim Drag.
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index c7c2f23b1a..ef4a0f0b28 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -233,6 +233,7 @@ protected:
private:
bool _trackview_only; ///< true if pointer y value should always be relative to the top of the trackview group
bool _move_threshold_passed; ///< true if the move threshold has been passed, otherwise false
+ bool _starting_point_passed; ///< true if we called move () with first_move flag, otherwise false
bool _was_double_click; ///< true if drag initiated by a double click event
double _grab_x; ///< trackview x of the grab start position
double _grab_y; ///< y of the grab start position, possibly adjusted if _trackview_only is true