Browse Source

don't scroll to cursor after block context menu edit

master
Nils 2 years ago
parent
commit
738da951e2
  1. 2
      engine/api.py

2
engine/api.py

@ -926,7 +926,7 @@ def changeBlock(blockId, newParametersDict):
session.history.register(registeredUndoFunction, descriptionString = "change block")
block.putDataFromDict(newParametersDict)
callbacks._updateTrack(id(track))
callbacks._setCursor()
#callbacks._setCursor() #this will make the GUI jump around because it centers on the cursor
def unlinkCurrentBlock():
currentBlockId = id(session.data.currentTrack().currentBlock())

Loading…
Cancel
Save