summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/step_entry.cc')
-rw-r--r--gtk2_ardour/step_entry.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc
index 7dc9d17805..5913a09cab 100644
--- a/gtk2_ardour/step_entry.cc
+++ b/gtk2_ardour/step_entry.cc
@@ -550,8 +550,7 @@ StepEntry::note_length ()
{
double base_time = 4.0 / (double) length_divisor_adjustment.get_value();
- RefPtr<Action> act = ActionManager::get_action ("StepEditing/toggle-triplet");
- RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::cast_dynamic (act);
+ RefPtr<ToggleAction> tact = ActionManager::get_toggle_action ("StepEditing/toggle-triplet");
bool triplets = tact->get_active ();
if (triplets) {