mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Save console messages #263, change settings names
This commit is contained in:
@@ -182,11 +182,11 @@ end
|
||||
function save()
|
||||
local settings = {}
|
||||
settings.splitterMarginBottom = bottomSplitter:getMarginBottom()
|
||||
g_settings.setNode('GameInterface', settings)
|
||||
g_settings.setNode('game_interface', settings)
|
||||
end
|
||||
|
||||
function load()
|
||||
local settings = g_settings.getNode('GameInterface')
|
||||
local settings = g_settings.getNode('game_interface')
|
||||
if settings then
|
||||
if settings.splitterMarginBottom then
|
||||
bottomSplitter:setMarginBottom(settings.splitterMarginBottom)
|
||||
|
Reference in New Issue
Block a user