Fix Transfer.time_left that could be None

This commit is contained in:
miruka
2020-03-09 17:36:47 -04:00
parent f9f558cd34
commit 49966e06ad
3 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ QtObject {
function onModelItemFieldChanged(syncId, oldIndex, newIndex, field, value){
print("\u001b[37mchange", syncId, oldIndex, newIndex, field, value, "\u001b[0m")
// print("change", syncId, oldIndex, newIndex, field, value)
const model = ModelStore.get(syncId)
model.setProperty(oldIndex, field, value)