Beginning to make JLearner Work and a bit of Code clean up

This commit is contained in:
Hannes
2026-03-06 21:19:55 +01:00
parent 10e2a14e14
commit 47a0e11088
11 changed files with 343 additions and 9 deletions
+3 -3
View File
@@ -125,7 +125,7 @@ Row { // Workspace Row
triggeredOnStart: true
onTriggered: {
let src = modelData.icon;
console.log("########## icon: " + modelData.icon)
// console.log("########## icon: " + modelData.icon)
// Check if there is a "?" in the URL (custom path)
if (src.includes('goxlr')) {
@@ -136,8 +136,8 @@ Row { // Workspace Row
// Build a file:// URL pointing to the actual icon file
let segments = folderPath.split('/');
let fileName = segments[segments.length - 1] + "-icon.png";
console.log("########## filename: " + fileName)
console.log("########## icon: " + modelData.icon)
// console.log("########## filename: " + fileName)
// console.log("########## icon: " + modelData.icon)
src = "file://" + pathMatch[1] + "/" + fileName;
}
}