Commit 2aa93512 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

segmenter_page.js: Prevent from selecting virtual clones

parent 965727e0
......@@ -79,8 +79,10 @@ function processResult(data) {
// Do not select virtual clones
var cloneIds = [];
for (var i = 0; i < model.clones.length - 1; i++) {
cloneIds.push(i);
for (var i = 0; i < model.clones.length; i++) {
if (! model.clones[i].isVirtual()) {
cloneIds.push(i);
}
}
model.multiSelect(cloneIds);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment