Skip to content

Commit 7966c42

Browse files
cmortyjonahgraham
authored andcommitted
Bug: Docker: Save correct docker image name
When the docker image was not locally available the name of the image was not correctly saved
1 parent 1d73f11 commit 7966c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerPropertyTab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public void verifyText(VerifyEvent e) {
310310
final String nimg = currentText.substring(0, e.start) + e.text + currentText.substring(e.end);
311311
var t = displayedImages.stream().filter(x -> x.repoTags().contains(nimg)).findAny().orElse(null);
312312
// Set to 0 if it does not exist
313-
setImageId(imageCombo.getText());
313+
setImageId(nimg);
314314
model.setSelectedImage(t);
315315
}
316316
});

0 commit comments

Comments
 (0)