1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00

SavePrefs was saving to the wrong key.

This commit is contained in:
Simon Rodriguez 2019-05-13 10:01:43 +02:00
parent d68aea2a8a
commit 1a02f4886c

View File

@ -171,7 +171,7 @@ namespace XNodeEditor {
typeColors[type] = col;
if (settings.typeColors.ContainsKey(typeColorKey)) settings.typeColors[typeColorKey] = col;
else settings.typeColors.Add(typeColorKey, col);
SavePrefs(typeColorKey, settings);
SavePrefs(key, settings);
NodeEditorWindow.RepaintAll();
}
}