nanophotonics / nplab

Core functions and instrument scripts for the Nanophotonics lab experimental scripts
GNU General Public License v3.0
38 stars 15 forks source link

Small bug fix #63

Closed imanyakin closed 6 years ago

imanyakin commented 6 years ago

I kept getting segfaults inside the PySide library associated with the HDF5 viewer (on the replaced time). Solution comes from: https://stackoverflow.com/questions/19211430/pyside-segfault-when-using-qitemselectionmodel-with-qlistview - we just make the object persistent for the duration of HDF5Browser instance