mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix up state save/load of location lock/glue settings.
git-svn-id: svn://localhost/ardour2/branches/3.0@7579 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
78986385e1
commit
69c9e2296c
3 changed files with 32 additions and 8 deletions
|
|
@ -193,7 +193,11 @@ LocationEditRow::set_location (Location *loc)
|
|||
|
||||
location = loc;
|
||||
|
||||
if (!location) return;
|
||||
if (!location) {
|
||||
return;
|
||||
}
|
||||
|
||||
++i_am_the_modifier;
|
||||
|
||||
if (!hide_check_button.get_parent()) {
|
||||
item_table.attach (hide_check_button, 5, 6, 0, 1, FILL, Gtk::FILL, 4, 0);
|
||||
|
|
@ -293,6 +297,8 @@ LocationEditRow::set_location (Location *loc)
|
|||
end_clock.set_sensitive (!location->locked());
|
||||
length_clock.set_sensitive (!location->locked());
|
||||
|
||||
--i_am_the_modifier;
|
||||
|
||||
location->start_changed.connect (connections, invalidator (*this), ui_bind (&LocationEditRow::start_changed, this, _1), gui_context());
|
||||
location->end_changed.connect (connections, invalidator (*this), ui_bind (&LocationEditRow::end_changed, this, _1), gui_context());
|
||||
location->name_changed.connect (connections, invalidator (*this), ui_bind (&LocationEditRow::name_changed, this, _1), gui_context());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue