Browse Source

protect against default qt keybinding that crashes the tree view

master
Nils 2 years ago
parent
commit
5227aac999
  1. 1
      qtgui/instrument.py

1
qtgui/instrument.py

@ -113,6 +113,7 @@ class InstrumentTreeController(object):
def itemExpandedOrCollapsed(self, libraryItem:QtWidgets.QTreeWidgetItem):
if type(libraryItem) is GuiLibrary : #just in case
api.session.guiSharedDataToSave["libraryIsExpanded"][libraryItem.id] = libraryItem.isExpanded()
def itemSelectionChanged(self):

Loading…
Cancel
Save