mirror of
https://github.com/edubart/otclient.git
synced 2025-12-23 00:27:12 +01:00
onLoad and onDestroy events
This commit is contained in:
@@ -3,8 +3,8 @@ window#optionsWindow:
|
||||
size: [286, 262]
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onLoad: mainMenu:lock(self)
|
||||
onDestroy: mainMenu:unlock()
|
||||
onLoad: self:getParent():lock(self)
|
||||
onDestroy: self:getParent():unlock()
|
||||
|
||||
# general
|
||||
button#generalButton:
|
||||
|
||||
Reference in New Issue
Block a user