mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
straightforward signal and slots system for lua events
This commit is contained in:
@@ -67,7 +67,7 @@ end
|
||||
function Console.init()
|
||||
consoleWidget = UI.loadAndDisplay("/console/console.otui")
|
||||
consoleWidget:hide()
|
||||
consoleWidget.onKeyPress = onKeyPress
|
||||
connect(consoleWidget, { onKeyPress = onKeyPress })
|
||||
|
||||
commandLineEdit = consoleWidget:getChildById('commandLineEdit')
|
||||
consoleBuffer = consoleWidget:getChildById('consoleBuffer')
|
||||
|
Reference in New Issue
Block a user