1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Bug: Docker: Save correct docker image name

When the docker image was not locally available the name of the image
was not correctly saved
This commit is contained in:
Moritz 'Morty' Strübe 2022-11-28 18:28:39 +01:00 committed by Jonah Graham
parent 1d73f112dc
commit 7966c42ecb

View file

@ -310,7 +310,7 @@ public class ContainerPropertyTab extends AbstractCBuildPropertyTab
final String nimg = currentText.substring(0, e.start) + e.text + currentText.substring(e.end);
var t = displayedImages.stream().filter(x -> x.repoTags().contains(nimg)).findAny().orElse(null);
// Set to 0 if it does not exist
setImageId(imageCombo.getText());
setImageId(nimg);
model.setSelectedImage(t);
}
});