in multiselect, deselect all leaves the current plane selected and

deselects the rest
This commit is contained in:
Matthias Wirth
2019-10-29 17:37:57 +01:00
parent 23c9a1acc0
commit 5d1fb59ef1
2 changed files with 16 additions and 19 deletions

View File

@@ -2047,8 +2047,14 @@ function deselectAllPlanes() {
$(Planes[key].tr).removeClass("selected");
}
$('#selectall_checkbox').removeClass('settingsCheckboxChecked');
SelectedPlane = null;
SelectedAllPlanes = false;
if (multiSelect && SelectedPlane != null) {
SelectedPlane.selected = true;
SelectedPlane.updateLines();
SelectedPlane.updateMarker();
} else {
SelectedPlane = null;
}
refreshSelected();
refreshHighlighted();
setSelectedInfoBlockVisibility();