mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-11-01 23:52:06 +00:00
Improvement: initial implementation of profiles json IO.
This commit is contained in:
@@ -208,7 +208,7 @@ QtObject{
|
||||
return stringify(settings);
|
||||
}
|
||||
|
||||
function composeProfileString(){
|
||||
function composeProfileObject(){
|
||||
var settings = {
|
||||
backgroundColor: _backgroundColor,
|
||||
fontColor: _fontColor,
|
||||
@@ -232,7 +232,11 @@ QtObject{
|
||||
fontName: fontNames[rasterization],
|
||||
fontWidth: fontWidth
|
||||
}
|
||||
return stringify(settings);
|
||||
return settings;
|
||||
}
|
||||
|
||||
function composeProfileString() {
|
||||
return stringify(composeProfileObject());
|
||||
}
|
||||
|
||||
function loadSettings(){
|
||||
|
||||
Reference in New Issue
Block a user