13
0

L: do not assign actions to unmapped buttons

fixes: gtk_accel_group_from_accel_closure assertion warning
This commit is contained in:
Ben Loftis 2024-05-21 07:39:27 -05:00
parent 6ba1d6314f
commit 2065646c48

View File

@ -42,6 +42,7 @@ RulerDialog::RulerDialog ()
get_vbox()->show_all (); get_vbox()->show_all ();
#ifndef LIVETRAX
connect_action (samples_button, "samples-ruler"); connect_action (samples_button, "samples-ruler");
connect_action (timecode_button, "timecode-ruler"); connect_action (timecode_button, "timecode-ruler");
connect_action (minsec_button, "minsec-ruler"); connect_action (minsec_button, "minsec-ruler");
@ -52,6 +53,7 @@ RulerDialog::RulerDialog ()
connect_action (mark_button, "marker-ruler"); connect_action (mark_button, "marker-ruler");
connect_action (section_button, "arrangement-ruler"); connect_action (section_button, "arrangement-ruler");
connect_action (video_button, "video-ruler"); connect_action (video_button, "video-ruler");
#endif
} }
RulerDialog::~RulerDialog () RulerDialog::~RulerDialog ()