Browse Source

remove nonfunctional assert

master
Nils 2 years ago
parent
commit
add54cb8f5
  1. 1
      qtgui/scoreview.py

1
qtgui/scoreview.py

@ -214,7 +214,6 @@ class ScoreView(QtWidgets.QGraphicsView):
self.mainWindow.menuActionDatabase.loadToolbarContext("notation")
elif self.mainWindow.ui.actionBlock_Mode.isChecked():
assert calledByMenu, "We currently assume that only the program start calls this function not via the menu, and that chooses notation mode"
self.mainWindow.menuActionDatabase.noteEditMode()
self.mainWindow.menuActionDatabase.writeProtection(True)
self.scoreScene.updateMode("block")

Loading…
Cancel
Save