Beginning to make JLearner Work and a bit of Code clean up
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user