Fix crash when editing meter via main clock.
This commit is contained in:
parent
98455f2744
commit
c9b6e0a7b3
@ -102,8 +102,8 @@ void
|
||||
MainClock::edit_current_meter ()
|
||||
{
|
||||
if (!PublicEditor::instance().session()) return;
|
||||
ARDOUR::MeterSection ms = PublicEditor::instance().session()->tempo_map().meter_section_at_frame (absolute_time());
|
||||
PublicEditor::instance().edit_meter_section (&ms);
|
||||
ARDOUR::MeterSection* ms = const_cast<ARDOUR::MeterSection*>(&PublicEditor::instance().session()->tempo_map().meter_section_at_frame (absolute_time()));
|
||||
PublicEditor::instance().edit_meter_section (ms);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user