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()) {
|
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);
|
midi_track()->set_step_editing (false);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -992,6 +992,7 @@ RouteUI::toggle_rec_safe ()
|
||||||
void
|
void
|
||||||
RouteUI::step_edit_changed (bool yn)
|
RouteUI::step_edit_changed (bool yn)
|
||||||
{
|
{
|
||||||
|
cerr << _route->name() << " step editing changed to " << yn << endl;
|
||||||
if (yn) {
|
if (yn) {
|
||||||
if (rec_enable_button) {
|
if (rec_enable_button) {
|
||||||
rec_enable_button->set_active_state (Gtkmm2ext::ExplicitActive);
|
rec_enable_button->set_active_state (Gtkmm2ext::ExplicitActive);
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pbd/stacktrace.h"
|
||||||
|
|
||||||
#include "ardour/midi_track.h"
|
#include "ardour/midi_track.h"
|
||||||
#include "ardour/midi_region.h"
|
#include "ardour/midi_region.h"
|
||||||
#include "ardour/tempo.h"
|
#include "ardour/tempo.h"
|
||||||
|
@ -155,8 +157,11 @@ StepEditor::step_entry_hidden (GdkEventAny*)
|
||||||
void
|
void
|
||||||
StepEditor::step_entry_done ()
|
StepEditor::step_entry_done ()
|
||||||
{
|
{
|
||||||
|
cerr << this << " SE done\n";
|
||||||
|
|
||||||
hide_connection.disconnect ();
|
hide_connection.disconnect ();
|
||||||
delete_connection.disconnect ();
|
delete_connection.disconnect ();
|
||||||
|
|
||||||
/* everything else will follow the change in the model */
|
/* everything else will follow the change in the model */
|
||||||
_track->set_step_editing (false);
|
_track->set_step_editing (false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -660,6 +660,8 @@ MidiTrack::set_step_editing (bool yn)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (yn != _step_editing) {
|
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;
|
_step_editing = yn;
|
||||||
StepEditStatusChange (yn);
|
StepEditStatusChange (yn);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user