mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 15:25:54 +02: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