mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:58:56 +02:00
Add the persistence of the columns setup
Add the persistence of the columns' visibility and ordering.
This commit is contained in:
parent
c573242043
commit
f3dea2fbad
1 changed files with 8 additions and 0 deletions
|
@ -371,6 +371,14 @@ EntityListTool = function(shouldUseEditTabletApp) {
|
||||||
SelectionManager.teleportToEntity();
|
SelectionManager.teleportToEntity();
|
||||||
} else if (data.type === 'moveEntitySelectionToAvatar') {
|
} else if (data.type === 'moveEntitySelectionToAvatar') {
|
||||||
SelectionManager.moveEntitiesSelectionToAvatar();
|
SelectionManager.moveEntitiesSelectionToAvatar();
|
||||||
|
} else if (data.type === 'loadColumnsConfigSetting') {
|
||||||
|
var columnsData = Settings.getValue(SETTING_EDIT_PREFIX + SETTING_EDITOR_COLUMNS_SETUP, "NO_DATA");
|
||||||
|
emitJSONScriptEvent({
|
||||||
|
"type": "loadedColumnsSetup",
|
||||||
|
"columnsData": columnsData
|
||||||
|
});
|
||||||
|
} else if (data.type === 'saveColumnsConfigSetting') {
|
||||||
|
Settings.setValue(SETTING_EDIT_PREFIX + SETTING_EDITOR_COLUMNS_SETUP, data.columnsData);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue