Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Item {
}
}

log('getHighestCaptionScore highestScore: ' + highestScore + ' caption client: ' + client.caption + ' caption save: ' + windowData.saved[highestIndex].caption);
log('getHighestCaptionScore highestScore: ' + highestScore + ' caption client: ' + client.caption + ' caption save: ' + (highestIndex >= 0 ? windowData.saved[highestIndex].caption : 'none'));

return returnIndex ? [highestScore, highestIndex] : highestScore;
}
Expand Down Expand Up @@ -338,7 +338,7 @@ Item {
}
}

log('getHighestCaptionScoreIgnoreNumbers highestScore: ' + highestScore + ' caption client: ' + client.caption + ' caption save: ' + windowData.saved[highestIndex].caption);
log('getHighestCaptionScoreIgnoreNumbers highestScore: ' + highestScore + ' caption client: ' + client.caption + ' caption save: ' + (highestIndex >= 0 ? windowData.saved[highestIndex].caption : 'none'));

return returnIndex ? [highestScore, highestIndex] : highestScore;
}
Expand Down