Fix RegionFx processor selection, leave notify
This fixes "delete" keyboard shortcut when the mouse. Previously moving the mouse from the box to the selected processor unset the `current_rfx_box` pointer.
This commit is contained in:
@@ -788,7 +788,13 @@ RegionEditor::RegionFxBox::enter_notify (GdkEventCrossing* ev)
|
||||
bool
|
||||
RegionEditor::RegionFxBox::leave_notify (GdkEventCrossing* ev)
|
||||
{
|
||||
if (ev->detail == GDK_NOTIFY_INFERIOR || ev->detail == GDK_NOTIFY_NONLINEAR || ev->detail == GDK_NOTIFY_NONLINEAR_VIRTUAL) {
|
||||
/* leaving towards a child - here a Processor Entry */
|
||||
return false;
|
||||
}
|
||||
|
||||
current_rfx_box = 0;
|
||||
_display.select_none ();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user