Commit 8573e003 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Use a signal instead of direct call

Segfaults could happen otherwise
parent 492d05ac
......@@ -97,7 +97,10 @@ reads the value from the editor and place it back in the model '''
editor. For example when the CHOICE index changes, this makes sure
that the relevant choice data is updated without gaving to wait
for the user to click outside from the widget '''
self.setModelData(editor, index.model(), index)
# Do not call setModelData directly, it would segfault
# self.setModelData(editor, index.model(), index)
# Check the (user-defined) type associated with the cell
asnType =
if asnType == 'INTEGER':
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment