Do not manipulate the relation directly when editing

This prevents adding values with the wrong type to the relation.
master
Salvo 'LtWorf' Tomaselli 2015-06-01 13:14:58 +07:00
parent 8dbdb2955f
commit dbeb1e3863
1 changed files with 1 additions and 1 deletions

@ -106,7 +106,7 @@ class creatorForm(QtWidgets.QDialog):
QtWidgets.QMessageBox.information(None, QtWidgets.QApplication.translate(
"Form", "Error"), QtWidgets.QApplication.translate("Form", "Unset value in %d,%d!" % (i + 1, j + 1)))
return None
r.content.add(tuple(hlist))
r.insert(tuple(hlist))
return r
def accept(self):