mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Pt translations, uicombobox, options
This commit is contained in:
@@ -85,6 +85,9 @@ function init()
|
||||
optionsWindow:hide()
|
||||
optionsButton = modules.client_topmenu.addLeftButton('optionsButton', tr('Options'), '/images/topbuttons/options', toggle)
|
||||
|
||||
optionsTabBar = optionsWindow:getChildById('optionsTabBar')
|
||||
optionsTabBar:setContentWidget(optionsWindow:getChildById('optionsTabContent'))
|
||||
|
||||
addEvent(function() setup() end)
|
||||
|
||||
g_keyboard.bindKeyDown('Ctrl+Shift+F', function() toggleOption('fullscreen') end)
|
||||
@@ -117,9 +120,6 @@ function setup()
|
||||
end
|
||||
end
|
||||
|
||||
optionsTabBar = optionsWindow:getChildById('optionsTabBar')
|
||||
optionsTabBar:setContentWidget(optionsWindow:getChildById('optionsTabContent'))
|
||||
|
||||
generalPanel = g_ui.loadUI('game')
|
||||
optionsTabBar:addTab(tr('Game'), generalPanel, '/images/optionstab/game')
|
||||
|
||||
|
Reference in New Issue
Block a user