div wrapping
This commit is contained in:
parent
d50d8b9d33
commit
b09ac181e0
@ -779,9 +779,9 @@ RouteUI::rec_enable_press(GdkEventButton* ev)
|
||||
|
||||
if (is_midi_track()) {
|
||||
|
||||
/* rec-enable button exits from step editing */
|
||||
/* rec-enable button exits from step editing, but not context click */
|
||||
|
||||
if (midi_track()->step_editing()) {
|
||||
if (!Keyboard::is_context_menu_event (ev) && midi_track()->step_editing()) {
|
||||
midi_track()->set_step_editing (false);
|
||||
return false;
|
||||
}
|
||||
@ -992,6 +992,7 @@ RouteUI::toggle_rec_safe ()
|
||||
void
|
||||
RouteUI::step_edit_changed (bool yn)
|
||||
{
|
||||
cerr << _route->name() << " step editing changed to " << yn << endl;
|
||||
if (yn) {
|
||||
if (rec_enable_button) {
|
||||
rec_enable_button->set_active_state (Gtkmm2ext::ExplicitActive);
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
*/
|
||||
|
||||
#include "pbd/stacktrace.h"
|
||||
|
||||
#include "ardour/midi_track.h"
|
||||
#include "ardour/midi_region.h"
|
||||
#include "ardour/tempo.h"
|
||||
@ -155,8 +157,11 @@ StepEditor::step_entry_hidden (GdkEventAny*)
|
||||
void
|
||||
StepEditor::step_entry_done ()
|
||||
{
|
||||
cerr << this << " SE done\n";
|
||||
|
||||
hide_connection.disconnect ();
|
||||
delete_connection.disconnect ();
|
||||
|
||||
/* everything else will follow the change in the model */
|
||||
_track->set_step_editing (false);
|
||||
}
|
||||
|
@ -660,6 +660,8 @@ MidiTrack::set_step_editing (bool yn)
|
||||
}
|
||||
|
||||
if (yn != _step_editing) {
|
||||
std::cerr << "\n\n\n" << name() << " changed step editing to " << yn << std::endl;
|
||||
PBD::stacktrace (std::cerr, 100);
|
||||
_step_editing = yn;
|
||||
StepEditStatusChange (yn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user