timeline: use better system of identifying ruler focus
This commit is contained in:
@@ -441,7 +441,7 @@ void TimelineWidget::ReplaceBlocksWithGaps(const QVector<Block *> &blocks,
|
||||
|
||||
void TimelineWidget::DeleteSelected(bool ripple)
|
||||
{
|
||||
if (ruler()->hasFocus()) {
|
||||
if (ruler()->HasItemsSelected()) {
|
||||
ruler()->DeleteSelected();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user