mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Version 2.5.6 - http://otclient.net/showthread.php?tid=373
This commit is contained in:
@@ -54,7 +54,9 @@ end
|
||||
function setupSelector(widget, id, outfit, list)
|
||||
widget:setId(id)
|
||||
widget.title:setText(id:gsub("^%l", string.upper))
|
||||
table.insert(list, 1, {0, "-"})
|
||||
if id ~= "type" or #list == 0 then
|
||||
table.insert(list, 1, {0, "-"})
|
||||
end
|
||||
|
||||
local pos = 1
|
||||
for i, o in pairs(list) do
|
||||
|
@@ -46,7 +46,7 @@ OutfitSelectorPanel < Panel
|
||||
|
||||
MainWindow
|
||||
!text: tr('Select Outfit')
|
||||
size: 540 330
|
||||
size: 560 330
|
||||
|
||||
@onEnter: modules.game_outfit.accept()
|
||||
@onEscape: modules.game_outfit.destroy()
|
||||
@@ -162,7 +162,7 @@ MainWindow
|
||||
layout:
|
||||
type: horizontalBox
|
||||
fit-children: true
|
||||
spacing: 3
|
||||
spacing: 8
|
||||
|
||||
Button
|
||||
id: outfitOkButton
|
||||
|
Reference in New Issue
Block a user