mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
[Summary] Added channel name hints that will show the full name of the channel
This commit is contained in:
parent
301b9b13bf
commit
520d883df1
2 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ void DeviceConnectionControl::init(const std::string& name, bool active, uint16_
|
|||
|
||||
if (_name_label != NULL) {
|
||||
_name_label->set_text (name);
|
||||
_name_label->set_tooltip_text(name);
|
||||
}
|
||||
|
||||
if (_number_label != NULL) {
|
||||
|
|
@ -121,6 +122,7 @@ DeviceConnectionControl::set_track_name (const std::string& new_track_name)
|
|||
{
|
||||
if (_track_name_label != NULL ) {
|
||||
_track_name_label->set_text (new_track_name);
|
||||
_track_name_label->set_tooltip_text(new_track_name);
|
||||
if (new_track_name.empty() ) {
|
||||
_track_name_label->get_parent()->hide();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ void MidiDeviceConnectionControl::init(const std::string& name, bool capture_act
|
|||
}
|
||||
|
||||
_name_label->set_text (name);
|
||||
_name_label->set_tooltip_text(name);
|
||||
|
||||
set_capture_active(capture_active);
|
||||
set_playback_active(playback_active);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue