13
0

Dear oh dear. Re-fix main fader double click and internal send edit.

git-svn-id: svn://localhost/ardour2/branches/3.0@8500 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-11 00:03:12 +00:00
parent f6e12d4210
commit 6dde76454d
2 changed files with 6 additions and 2 deletions

View File

@ -1641,10 +1641,10 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
} }
if (_parent_strip) { if (_parent_strip) {
if (boost::dynamic_pointer_cast<Send> (_parent_strip->current_delivery()) == send) { if (boost::dynamic_pointer_cast<Send> (_parent_strip->current_delivery()) == internal_send) {
_parent_strip->revert_to_default_display (); _parent_strip->revert_to_default_display ();
} else { } else {
_parent_strip->show_send (send); _parent_strip->show_send (internal_send);
} }
} }

View File

@ -122,6 +122,10 @@ PixFader::on_size_request (GtkRequisition* req)
bool bool
PixFader::on_button_press_event (GdkEventButton* ev) PixFader::on_button_press_event (GdkEventButton* ev)
{ {
if (ev->type != GDK_BUTTON_PRESS) {
return false;
}
switch (ev->button) { switch (ev->button) {
case 1: case 1:
case 2: case 2: