@ -37,7 +37,7 @@ from template.qtgui.midiinquickwidget import QuickMidiInputComboController
import engine . api as api
from engine . midiinput . stepmidiinput import stepMidiInput #singleton instance
from . constantsAndConfigs import constantsAndConfigs
from . submenus import SecondaryClefMenu , SecondaryKeySignatureMenu , SecondaryDynamicsMenu , SecondaryMetricalInstructionMenu , SecondaryTempoChangeMenu , SecondaryTemporaryTempoChangeMenu , SecondarySplitMenu , TransposeMenu , pedalNoteChooser , SecondaryProperties , SecondaryProgramChangeMenu , SecondaryChannelChangeMenu , ChooseOne , forwardText , SecondaryMultimeasureRestMenu
from . submenus import SecondaryClefMenu , SecondaryKeySignatureMenu , SecondaryDynamicsMenu , SecondaryMetricalInstructionMenu , SecondaryTempoChangeMenu , SecondaryTemporaryTempoChangeMenu , SecondarySplitMenu , TransposeMenu , pedalNoteChooser , SecondaryProperties , SecondaryProgramChangeMenu , SecondaryChannelChangeMenu , ChooseOne , forwardText , SecondaryMultimeasureRestMenu , SecondaryDuplicateMenu
from . customkeysignature import CustomKeySignatureWidget
from . custommetricalinstruction import CustomMetricalInstructionWidget
@ -292,7 +292,8 @@ class MenuActionDatabase(object):
self . mainWindow . ui . actionPaste : api . pasteObjects ,
self . mainWindow . ui . actionPaste_modal_transposed : api . pasteObjectsTransposedModal ,
self . mainWindow . ui . actionPaste_real_transposed : api . pasteObjectsTransposedReal ,
self . mainWindow . ui . actionDuplicateItem : api . duplicate ,
self . mainWindow . ui . actionDuplicateItem : lambda : api . duplicate ( howOften = 1 ) ,
self . mainWindow . ui . actionDuplicateItem_more : SecondaryDuplicateMenu ( self . mainWindow ) , #no lambda for submenus. They get created here once and have a __call__ option that executes them.
self . mainWindow . ui . actionUndo : api . undo ,
self . mainWindow . ui . actionRedo : api . redo ,