Fix observed field when sorting/filtering items in grid

This commit is contained in:
Neil Burrows 2021-03-24 11:19:02 +00:00
parent 00c17c6e6c
commit 67daf9bb8e

View File

@ -33,7 +33,6 @@ sub init()
m.filter = "All"
m.loadItemsTask = createObject("roSGNode", "LoadItemsTask2")
m.loadItemsTask.observeField("content", "ItemDataLoaded")
end sub
@ -74,6 +73,7 @@ sub loadInitialItems()
print "Unknown Type: " m.top.parentItem
end if
m.loadItemsTask.observeField("content", "ItemDataLoaded")
m.loadItemsTask.control = "RUN"
SetUpOptions()