Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit b280964

Browse files
committed
working import export
1 parent c74181b commit b280964

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Neuron-GUI.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3889,7 +3889,14 @@ NeuronGUI.interfaceOptions = {
38893889
set = function(self, inpStr)
38903890
local result, newTable = Neuron:Deserialize(inpStr)
38913891
if result == true and newTable then
3892-
Neuron.db.profile = CopyTable(newTable)
3892+
for k,v in pairs(newTable) do
3893+
if type(v) == "table" then
3894+
Neuron.db.profile[k] = CopyTable(v)
3895+
else
3896+
Neuron.db.profile[k] = v
3897+
end
3898+
end
3899+
ReloadUI()
38933900
else
38943901
print(L["Data import Failed"])
38953902
end

0 commit comments

Comments
 (0)