self.mainWindow.scoreView.scoreScene.grid.setOpacity(constantsAndConfigs.gridOpacity)#reset to initial value and undo the live preview
classSecondaryMultimeasureRestMenu(Submenu):
lastCustomValue=0
def__init__(self,mainWindow):
super().__init__(mainWindow,translate("submenus","Rest for how many measures?\n\n(Only works if there is a metrical instruction.)"),hasOkCancelButtons=True)