Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyside: Do not pass “None” to QTreeView.setExpanded()
PySide2 crashes otherwise (as of PySide2/Qt 5.15.0): Received signal 6 #0 0x7fecd2bcea7b base::debug::CollectStackTrace() #1 0x7fecd299bbaf base::debug::StackTrace::StackTrace() #2 0x7fecd299bb62 base::debug::StackTrace::StackTrace() #3 0x7fecd2bcd61e base::debug::(anonymous namespace)::StackDumpSignalHandler() #4 0x7fed08461210 <unknown> #5 0x7fed0846118b gsignal #6 0x7fed08440859 abort #7 0x7fed08119882 fatal_error.lto_priv.0 #8 0x7fed0811989f Py_FatalError #9 0x7fed03c8c50b SetError_Argument #10 0x7fed03c5d64e Shiboken::setErrorAboutWrongArguments() #11 0x7fece240f259 Sbk_QTreeViewFunc_setExpanded <shortened>
- Loading branch information