validation rule for callFunc operator
This commit is contained in:
1 parent
51966cb33f
commit
5982b5a75f
33 files changed
+64
-55
No files matched your search
+1
-1
@@ -54,7 +54,7 @@ end function
|
||||
function OpenInvidiousInstanceSettings()
|
||||
settings = CreateObject("roSGNode", "InvidiousInstanceSettings")
|
||||
m.appController@.PushScreen(settings)
|
||||
settings@.BindNode(invalid)
|
||||
settings@.BindNode()
|
||||
settings.text = m.top.value
|
||||
settings.observeField("save", FuncName(OnSaveInvidiousInstance))
|
||||
end function
|
||||
|
||||
+2
-2
@@ -70,7 +70,7 @@ end function
|
||||
function OnTestButtonSelected()
|
||||
testing = CreateObject("roSGNode", "InvidiousInstanceTesting")
|
||||
m.appController@.PushScreen(testing)
|
||||
testing@.BindNode(invalid)
|
||||
testing@.BindNode()
|
||||
testing.instance = m.top.text
|
||||
testing.run = true
|
||||
end function
|
||||
@@ -103,5 +103,5 @@ function OnSaveButtonSelected()
|
||||
end function
|
||||
|
||||
function Close()
|
||||
m.appController@.PopScreen(invalid)
|
||||
m.appController@.PopScreen()
|
||||
end function
|
||||
+1
-1
@@ -47,7 +47,7 @@ function Close()
|
||||
m.testingTask.cancel = true
|
||||
end if
|
||||
|
||||
m.appController@.PopScreen(invalid)
|
||||
m.appController@.PopScreen()
|
||||
end function
|
||||
|
||||
function RunTestsTask()
|
||||
|
||||
@@ -137,7 +137,7 @@ function CreateControl(item as object, container as object, startX as integer, s
|
||||
control.id = `preference.${item.key}`
|
||||
control.translation = [startX, startY]
|
||||
if control.hasField("binding_done")
|
||||
control@.BindNode(invalid)
|
||||
control@.BindNode()
|
||||
end if
|
||||
control@.BindPreference(m.preferences, item.key)
|
||||
|
||||
|
||||
Reference in new issue
Block a user