mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
[Summary] Limit track name to 13 letters
[Reviewed] GZharun
This commit is contained in:
parent
1da0fe3f54
commit
87afeb76ad
2 changed files with 3 additions and 1 deletions
|
|
@ -317,6 +317,7 @@ MixerStrip::init ()
|
|||
/* note that this handler connects *before* the default handler */
|
||||
_name_button_home.signal_button_press_event().connect (sigc::mem_fun (*this, &MixerStrip::controls_ebox_button_press));
|
||||
_name_button_home.signal_button_release_event().connect (sigc::mem_fun (*this, &MixerStrip::controls_ebox_button_release));
|
||||
_name_entry.set_max_length(13);
|
||||
|
||||
Session* session = ARDOUR_UI::instance()->the_session();
|
||||
if( session )
|
||||
|
|
|
|||
|
|
@ -132,7 +132,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess,
|
|||
name_entry.signal_focus_out_event().connect (sigc::mem_fun (*this, &TimeAxisView::name_entry_focus_out));
|
||||
name_entry.set_text (name_label.get_text());
|
||||
name_entry.signal_activate().connect (sigc::bind (sigc::mem_fun (*this, &TimeAxisView::end_name_edit), RESPONSE_OK));
|
||||
|
||||
name_entry.set_max_length(13);
|
||||
|
||||
controls_event_box.add_events (Gdk::BUTTON_PRESS_MASK|
|
||||
Gdk::BUTTON_RELEASE_MASK|
|
||||
Gdk::POINTER_MOTION_MASK|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue