mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
rework on UILineEdit
* allow multiline text editing * rename UILineEdit to UITextEdit
This commit is contained in:
@@ -290,7 +290,7 @@ function HotkeysManager.call(keyCombo)
|
||||
if hotKey.autoSend then
|
||||
g_game.talk(hotKey.value)
|
||||
else
|
||||
Console.setLineEditText(hotKey.value)
|
||||
Console.setTextEditText(hotKey.value)
|
||||
end
|
||||
elseif hotKey.itemId ~= nil then
|
||||
if hotKey.useType == HOTKEY_MANAGER_USEONSELF then
|
||||
|
@@ -68,7 +68,7 @@ MainWindow
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 20
|
||||
|
||||
LineEdit
|
||||
TextEdit
|
||||
id: hotkeyText
|
||||
enabled: false
|
||||
anchors.left: parent.left
|
||||
|
Reference in New Issue
Block a user