Fix potential pop of empty enter stack.
This commit is contained in:
parent
962be01ae8
commit
31641179f9
@ -1651,7 +1651,9 @@ Editor::leave_handler (ArdourCanvas::Item* item, GdkEvent*, ItemType item_type)
|
||||
bool is_start;
|
||||
bool ret = true;
|
||||
|
||||
if (!_enter_stack.empty()) {
|
||||
_enter_stack.pop_back();
|
||||
}
|
||||
|
||||
switch (item_type) {
|
||||
case ControlPointItem:
|
||||
|
Loading…
Reference in New Issue
Block a user