mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
when track selection changes, cancel any and all name editing
This commit is contained in:
parent
d717a0680a
commit
c4be8c2a67
1 changed files with 4 additions and 0 deletions
|
|
@ -781,6 +781,10 @@ TimeAxisView::popup_display_menu (guint32 when)
|
||||||
void
|
void
|
||||||
TimeAxisView::set_selected (bool yn)
|
TimeAxisView::set_selected (bool yn)
|
||||||
{
|
{
|
||||||
|
if (can_edit_name() && name_entry.get_visible()) {
|
||||||
|
end_name_edit (RESPONSE_CANCEL);
|
||||||
|
}
|
||||||
|
|
||||||
if (yn == _selected) {
|
if (yn == _selected) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue