summaryrefslogtreecommitdiff
path: root/gtk2_ardour/insert_remove_time_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-10-10 11:47:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-10-10 11:47:29 -0400
commit0542a3090182fa97bd355ef876cf1918408e32b0 (patch)
tree666471a1f62687e6a4960a5c6d63027ace6b6aa9 /gtk2_ardour/insert_remove_time_dialog.cc
parent7d5eed09142ef5805c31940f563b43e87290ba62 (diff)
use primary, not secondary, clock mode to drive other clock modes, and dynamically update region editors, location UI and editor regions when it changes
Diffstat (limited to 'gtk2_ardour/insert_remove_time_dialog.cc')
-rw-r--r--gtk2_ardour/insert_remove_time_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/insert_remove_time_dialog.cc b/gtk2_ardour/insert_remove_time_dialog.cc
index 162559e539..2d444b92d1 100644
--- a/gtk2_ardour/insert_remove_time_dialog.cc
+++ b/gtk2_ardour/insert_remove_time_dialog.cc
@@ -61,14 +61,14 @@ InsertRemoveTimeDialog::InsertRemoveTimeDialog (PublicEditor& e, bool remove)
time_label->set_alignment (1, 0.5);
table->attach (*time_label, 0, 1, 0, 1, FILL | EXPAND);
position_clock.set_session (_session);
- position_clock.set_mode (ARDOUR_UI::instance()->secondary_clock->mode());
+ position_clock.set_mode (ARDOUR_UI::instance()->primary_clock->mode());
table->attach (position_clock, 1, 2, 0, 1);
time_label = manage (new Label (remove ? _("Time to remove:") : _("Time to insert:")));
time_label->set_alignment (1, 0.5);
table->attach (*time_label, 0, 1, 1, 2, FILL | EXPAND);
duration_clock.set_session (_session);
- duration_clock.set_mode (ARDOUR_UI::instance()->secondary_clock->mode());
+ duration_clock.set_mode (ARDOUR_UI::instance()->primary_clock->mode());
table->attach (duration_clock, 1, 2, 1, 2);
//if a Range is selected, assume the user wants to insert/remove the length of the range