always enable 'New Edit from Selection' in edit section, use editPanel.getSelectedClips

This commit is contained in:
rolux 2014-02-07 06:41:43 +00:00
commit de8c824c2b
3 changed files with 5 additions and 9 deletions

View file

@ -94,7 +94,7 @@ pandora.ui.folders = function(section) {
pandora.$ui.personalListsMenu = Ox.MenuButton({
items: [
{ id: 'newedit', title: Ox._('New Edit'), keyboard: 'control n' },
{ id: 'neweditfromselection', title: Ox._('New Edit from Selection'), keyboard: 'shift control n', disabled: !ui.edit || !ui.editSelection.length },
{ id: 'neweditfromselection', title: Ox._('New Edit from Selection'), keyboard: 'shift control n', disabled: !ui.edit },
{ id: 'newsmartedit', title: Ox._('New Smart Edit'), keyboard: 'alt control n'},
{},
{ id: 'duplicateedit', title: Ox._('Duplicate Selected Edit'), keyboard: 'control d', disabled: !ui.edit },