Beispiel #1
0
 def _addDrum(self):
     drum = Drum.makeSimple("New drum", "XX", "o")
     self._currentKit.append(drum)
     self._oldLines[drum] = -1
     self.kitTable.addItem(drum.name)
     self.kitTable.setCurrentRow(len(self._currentKit) - 1)
     self._checkDrumButtons()
     self._checkAbbrs()
     self.drumName.setFocus()
     self.drumName.selectAll()
 def _addDrum(self):
     drum = Drum.makeSimple("New drum", "XX", "o")
     self._currentKit.append(drum)
     self._oldLines[drum] = -1
     self.kitTable.addItem(drum.name)
     self.kitTable.setCurrentRow(len(self._currentKit) - 1)
     self._checkDrumButtons()
     self._checkAbbrs()
     self.drumName.setFocus()
     self.drumName.selectAll()