summaryrefslogtreecommitdiff
path: root/gtk2_ardour/insert_remove_time_dialog.cc
diff options
context:
space:
mode:
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