comments on the order of operations in reset()

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-15 12:31:50 -05:00
parent 33dc411743
commit e89272a3cd
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@ import VDS
} }
open override func reset() { open override func reset() {
//we want to reset() all local views/controls first before calling
//super since super.reset() calls setDefaults().
buttonGroup.reset() buttonGroup.reset()
super.reset() super.reset()
} }

View File

@ -42,6 +42,8 @@ import VDS
} }
open override func reset() { open override func reset() {
//we want to reset() all local views/controls first before calling
//super since super.reset() calls setDefaults().
buttonGroup.reset() buttonGroup.reset()
super.reset() super.reset()
} }