summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2016-10-20 14:53:34 -0500
committerBen Loftis <ben@harrisonconsoles.com>2016-10-20 16:02:18 -0500
commit9a9a9f9eacae4553195854d2ae60dc109b05aff5 (patch)
tree28425b10fd7ebfac9e4b85c4ceb70fae16019d3c /gtk2_ardour/editor_ops.cc
parent492596756091b4be798c83b2b393736688ed74d8 (diff)
Track Add/Remove Time dialog improvements:
Add a clock to show the position of the edit, to remove ambiguity If a Range is selected, pre-fill the position and length clocks Clock format should default to the editor's secondary clock mode
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 88a784b0b6..803d3e0774 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -7393,7 +7393,7 @@ Editor::do_insert_time ()
}
insert_time (
- get_preferred_edit_position (EDIT_IGNORE_MOUSE),
+ d.position(),
d.distance(),
d.intersected_region_action (),
d.all_playlists(),
@@ -7542,7 +7542,6 @@ Editor::do_remove_time ()
return;
}
- framepos_t pos = get_preferred_edit_position (EDIT_IGNORE_MOUSE);
InsertRemoveTimeDialog d (*this, true);
int response = d.run ();
@@ -7558,7 +7557,7 @@ Editor::do_remove_time ()
}
remove_time (
- pos,
+ d.position(),
distance,
SplitIntersected,
d.move_glued(),